New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gracefully handle Zenmap config file parsing problems #88
Comments
I have tried to reproduce the bug, but I wasn't able to get the exact bug. I have successfully crashed Zenmap with no command option given in the zenmap profile configuration, but I cannot reproduce the missing heading error. Is is possible to give more information on the procedure to reproduce the missing heading error? Clearly, Zenmap should not crash as Daniel said, so this is what I should look for sure. Stop me if I am wrong please. Thanks. |
No need to give any further details about missing heading error, because I read in the ConfigParser.py file that is "raised when a key-value pair is found before any section header". I wonder if you know where is the source code (I mean the file) that show the bug dialog with OK button, and when you click on it, Zenmap crash. Of course, we can modify ConfigParser.py, but I pretty sure no graphical code should be there, because this file is used to track down the errors. A better solution is clearly to catch the error after pressing on OK button. |
Related crash reports:
|
Another crash report (non-color entered for a highlight color): http://seclists.org/nmap-dev/2016/q1/337 |
Zenmap should never crash with an uncaught exception. We should have a warning dialog and then proceed with defaults instead.
Bug report: http://seclists.org/nmap-dev/2015/q1/369
The text was updated successfully, but these errors were encountered: