This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: fix memrchr for POWER7
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 5 Sep 2013 09:05:05 -0500
- Subject: Re: [PATCH] PowerPC: fix memrchr for POWER7
- Authentication-results: sourceware.org; auth=none
- References: <52288372 dot 9060307 at linux dot vnet dot ibm dot com>
On Thu, Sep 5, 2013 at 8:13 AM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> My memrchr testcase uncovered a nasty bug in memrchr implementation for POWER7
> that triggers an invalid memory access for in calculation of remaining bytes
> for some large inputs.
>
> Tested on PPC32/POWER7 and PPC64/POWER7. Ok to apply?
Yes, and please backport to 2.18.
Ryan S. Arnold