[PATCH] PPC Bugz#1877 strncmp() accesses beyond instructed n bytes

Ulrich Drepper drepper@redhat.com
Thu Nov 17 21:45:00 GMT 2005


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 ❖



More information about the Libc-alpha mailing list