[PATCH][BZ #15698] Fix memory overrun in getifaddrs_internal.
Mike Frysinger
vapier@gentoo.org
Sat Jan 11 18:35:00 GMT 2014
On Tuesday 08 October 2013 12:57:38 Ondřej Bílka wrote:
> Hi, a code at https://sourceware.org/bugzilla/show_bug.cgi?id=15698
> contains a simple off-by-one error when preflen is divisible by 8.
>
> Following code should fix this, as preflen is unsigned I added check for
> zero len to be sure we do not cause underflow.
>
> OK to commit?
test case ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140111/847548bc/attachment.sig>
More information about the Libc-alpha
mailing list