From 4dca11125f4832243a224ba71982f27c93935d38 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 12 Oct 2009 03:25:54 +0000 Subject: [PATCH] [Zenmap] Fixed a crash that could occur when entering certain characters in the target entry (those whose UTF-8 encoding contains a byte that counts as whitespace in the Windows locale): File "zenmapGUI\ScanNotebook.pyo", line 184, in _target_entry_changed File "zenmapCore\NmapOptions.pyo", line 719, in render_string UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 1: unexpected end of data One such character is a with grave accent, U+00E0, which in UTF-8 is C0 A0, where the A0 is interpreted as a no-break space when the string is interpreted byte by byte. [David] --- CHANGELOG | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 29e4cce07..ff7f9f15d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,16 @@ # Nmap Changelog ($Id$); -*-text-*- +o [Zenmap] Fixed a crash that could occur when entering certain + characters in the target entry (those whose UTF-8 encoding contains + a byte that counts as whitespace in the Windows locale): + File "zenmapGUI\ScanNotebook.pyo", line 184, in _target_entry_changed + File "zenmapCore\NmapOptions.pyo", line 719, in render_string + UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 1: + unexpected end of data + One such character is a with grave accent, U+00E0, which in UTF-8 is + C0 A0, where the A0 is interpreted as a no-break space when the + string is interpreted byte by byte. [David] + o [NSE] There is a new function, nmap.bind, to set the source address of a socket. [David]