From 1736b2831776fb181721c9fc2eeeafb46cbff070 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 3 Apr 2009 15:31:08 +0000 Subject: [PATCH] [Zenmap] Gracefully handle unrecognized port states in the hosts viewer. Apparently old versions of Nmap can return a state of "unknown". This prevents this crash: File "radialnet\gui\NodeNotebook.pyo", line 107, in __init__ File "radialnet\gui\NodeNotebook.pyo", line 257, in __create_widgets KeyError: u'unknown' --- CHANGELOG | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 78272fb02..61eb9a83d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,13 @@ # Nmap Changelog ($Id$); -*-text-*- +o [Zenmap] Gracefully handle unrecognized port states in the hosts + viewer. Apparently old versions of Nmap can return a state of + "unknown". This prevents this crash: + File "radialnet\gui\NodeNotebook.pyo", line 107, in __init__ + File "radialnet\gui\NodeNotebook.pyo", line 257, in __create_widgets + KeyError: u'unknown' + [David] + Nmap 4.85BETA7 [2009-04-1] o Improvements to the Conficker detection script (smb-check-vulns):