Nmap Development mailing list archives
Re: Crash on Windows 208 server
From: Michael Pattrick <mpattrick () rhinovirus org>
Date: Mon, 25 May 2009 17:15:31 -0400
I can confirm the occurrence of this bug in Windows 2008 Server (6.0.6001 Service Pack 1 Build 6001) Cheers, Michael Pattrick On Mon, May 25, 2009 at 2:53 PM, Juan Carlos Castro y Castro <jcastro () modulo com br> wrote:
I'm seeing a consistent, reproducible crash in nmap running in Windows 2008 Server. It happens whenever you run nmap --interactive and perform two OS scans in a row with "n -O -v <ipaddr>". Happens with both beta and stable, both with precompiled binaries and running the source with Visual Studio. It doesn't matter whether it's different addresses or not. I see the first assert in PortList::initializePortMap() fails. I tried to find where I should "clean" the ports object, but I'm having some difficulty. Help? ------------------------------------------------------------ void PortList::initializePortMap(int protocol, u16 *ports, int portcount) { int i; int unused_zero; // aren't we using 0 port? int ports_max = (protocol == IPPROTO_IP) ? 256 : 65536; int proto = INPROTO2PORTLISTPROTO(protocol); if(port_map[proto]!=NULL) fatal("%s: portmap for protocol %i already initialized", __func__, protocol); assert(port_list_count[proto]==0); // <===== THIS FAILS WHEN RUNNING SECOND SCAN! ------------------------------------------------------------ Regards, Juan _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Crash on Windows 208 server Juan Carlos Castro y Castro (May 25)
- Re: Crash on Windows 208 server Michael Pattrick (May 25)
- Re: Crash on Windows 208 server Juan Carlos Castro y Castro (May 25)
- Re: Crash on Windows 208 server Michael Pattrick (May 25)