This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ #15698] Fix memory overrun in getifaddrs_internal.


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]