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 n bytes


Ulrich Drepper <drepper@redhat.com> wrote on 11/17/2005 04:12:35 PM:

> Steve Munroe wrote:
> > On powerpc or x86? This only fails on powerpc.
> 
> Of course ppc.   ppc64 to be specific.
> 
hhhmmm just verified that ppc32 does catch the bug. But looking at 
test-strncmp the loop parms may not set up the string equal and double 
word aligned, on 64-bit, case properly. This would not trigger the bug for 
ppc64. I'll verify this for ppc64 and submit a patch to cover this.


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