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
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [patch] TargetGroup.cc resolver patch Christian Peron (Apr 15)
- Re: [patch] TargetGroup.cc resolver patch David Fifield (Apr 15)
- Re: [patch] TargetGroup.cc resolver patch Christian Peron (Apr 15)
- Re: [patch] TargetGroup.cc resolver patch David Fifield (Apr 15)