[PATCH] PowerPC: fix memrchr for POWER7

Adhemerval Zanella azanella@linux.vnet.ibm.com
Thu Sep 5 14:34:00 GMT 2013


On 05-09-2013 11:05, Ryan S. Arnold wrote:
> 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
>
Pushed as 5430fc65a118300b35a834a1112caea3441ff12e.



More information about the Libc-alpha mailing list