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:
edgeos



Nmap Development: Re: [PATCH] inet_aton to inet_pton

Re: [PATCH] inet_aton to inet_pton

From: Fyodor <fyodor_at_insecure.org>
Date: Mon, 15 May 2006 22:13:28 -0700

On Mon, May 15, 2006 at 10:50:18PM -0400, kx wrote:
> Attached is the patch. I believe I made the correct decisions on when
> to call o.af() vs. using AF_INET because that section of code was IPv4
> only.
>
> I removed the inet_aton reference in the nbase.vcproj file.

Thanks, I have applied this for the next version of Nmap. At the rate
we're reducing this bug/feature list, we won't have anything left for
the SoC students :). The change I made to your patch was to ALWAYS
use AF_INET, since an in_addr is being passed in and that could lead
to a buffer overflow if an in_addr6 was written over that.

Cheers,
Fyodor

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Received on May 15 2006

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos