off-by-one bug in inet_network in uclibc-0.9.29

Natanael Copa natanael.copa at gmail.com
Sat Jun 16 04:19:08 PDT 2007


Hi,

propolice caught an off-by-one bug in inet_network()

While i was there, I inhanced the test a bit so it catches things like
1.1.1.257

Alternative would be to use this implementation:
http://lists.freebsd.org/pipermail/freebsd-bugs/2006-February/016870.html

I tested it, it is actually smaller than uclibc uses now, and it does a
better job.

Natanael Copa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uclibc-0.9.29-inet_network.patch
Type: text/x-patch
Size: 485 bytes
Desc: not available
Url : http://busybox.net/lists/uclibc/attachments/20070616/a864024c/attachment.bin 


More information about the uClibc mailing list