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] PPC Bugz#1877 strncmp() accesses beyond instructed nbytes


Steven Munroe wrote:
So this is a bug in my code that test-strncmp does not but should
detect. So I thought I was doing the right thing by fixing a bug and
improving the test case to detect future bugs on any platform.

As I wrote, the test case does *not* fail with an old glibc which doesn't have the fix. So your test is not sufficient.


--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â


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