[patch] have inet_network() reject "0x"
Mike Frysinger
vapier@gentoo.org
Sat Sep 15 06:20:00 GMT 2007
the inet_network() function currently returns 0 for "0x" rather than
INADDR_NONE. attached patch fixes that by resetting digit to 0 thus forcing
subsequent parsing to get digit to be 1.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070915/3155eb63/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-inet-network-0x.patch
Type: text/x-diff
Size: 1315 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070915/3155eb63/attachment.bin>
More information about the Libc-alpha
mailing list