Home page logo

nmap-dev logo Nmap Development mailing list archives

[patch] TargetGroup.cc resolver patch
From: Christian Peron <csjp () freebsd org>
Date: Fri, 15 Apr 2011 11:01:29 -0500

Hey guys,

I ran into a issues (segfault) when I included addresses that didn't resolve in my targets file.  I looked at the code 
and it appears that we call freeaddrinfo() unconditionally, even if the lookups failed. The patch that I have attached 
appears to fix it.

Cheers, and thanks for all your hard work!

Attachment: nmap.patch

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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