[PATCH] PowerPC: fix memrchr for POWER7

Ryan S. Arnold ryan.arnold@gmail.com
Thu Sep 5 14:05:00 GMT 2013


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



More information about the Libc-alpha mailing list