Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo Nmap Development mailing list archives

Re: 4.22SOC6 Crash With Connect() Scan
From: majek04 <majek04 () gmail com>
Date: Fri, 14 Sep 2007 22:34:07 +0200

On 9/14/07, David Fifield <david () bamsoftware com> wrote:
I was also able to reproduce this bug. It crashes during connect scan,
in scan_engine.cc:3050 in

static bool do_one_select_round(UltraScanInfo *USI, struct timeval *stime)
[...]
  for(hostI = USI->incompleteHosts.begin();
      hostI != USI->completedHosts.end() && numGoodSD < selectres;
[...]

Thanks for this. It helped me find the problem right away. The bug was
that the hostI iterator was being used to iterate over two separate
lists, which I guess is not allowed, but worked for me on Linux. I've
committed a fix.

SVN r5835 works for me. Thanks.

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]