Nmap Development mailing list archives
Re: 4.22SOC8 Bug Report (scan_engine.c)
From: David Fifield <david () bamsoftware com>
Date: Sun, 4 Nov 2007 10:50:32 -0700
On Sun, Nov 04, 2007 at 11:33:27AM -0600, Kris Katterjohn wrote:
On 11/3/07, J0hn McClane <john.mcclame () gmail com> wrote:nmap-dev, Uname: Linux 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux Ubuntu 7.10 (gusty) Nmap 4.22SOC8 compiled from src, reliably reproduces the following error given the following options. sudo nmap -sT -T2 -oA tcp-connect-scan 10.0.0.0/24 Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-03 19:53 CST nmap: scan_engine.cc:2868: void sendPingProbe(UltraScanInfo*, HostScanStats*): Assertion `0' failed. Aborted (core dumped) Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-03 19:55 CST nmap: scan_engine.cc:2868: void sendPingProbe(UltraScanInfo*, HostScanStats*): Assertion `0' failed. Aborted (core dumped) Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-03 19:59 CST nmap: scan_engine.cc:2868: void sendPingProbe(UltraScanInfo*, HostScanStats*): Assertion `0' failed. Aborted (core dumped)I was able to reproduce this, and I've attached a patch that fixes it for me. Between 4.20 and now, "Global Pings" have been implemented. This is where it seemed to occur. Nmap would send a global ping for ARP, which called a sendPingProbe() function which didn't have any code regarding ARP, hence the assertion failure.
That's exactly right. Your patch looks good, please commit it. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- 4.22SOC8 Bug Report (scan_engine.c) J0hn McClane (Nov 03)
- Re: 4.22SOC8 Bug Report (scan_engine.c) Kris Katterjohn (Nov 04)
- Re: 4.22SOC8 Bug Report (scan_engine.c) David Fifield (Nov 04)
- Re: 4.22SOC8 Bug Report (scan_engine.c) Kris Katterjohn (Nov 04)