Nmap Development mailing list archives

nmap (win32 4.60) bug and a fix


From: "Dudi I" <dudi.itzhakov () gmail com>
Date: Mon, 31 Mar 2008 15:21:32 +0300

Hi,

I found a problem with nmap (4.60) when running on win32.
when i scan an ip address which is a broadcast address (like 192.169.1.255)
nmap gets into an infinite loop.

its seems that the return code from getsockopt in this case is not handled
at all (a 'Strange read error ...' message is produced) and nmap gets into
an infinite loop.

Attached is the diff file to fix this issue.

regards,
Dudi.

Attachment: scan_engine.cc.diff
Description:


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: