Nmap Development mailing list archives

Re: [PATCH] inet_aton to inet_pton


From: Fyodor <fyodor () 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


Current thread: