[PATCH 1/2] powerpc/memcpy: Fix stack corruption for smaller sizes

Michael Ellerman patch-notifications at ellerman.id.au
Thu Sep 19 20:25:47 AEST 2019


On Tue, 2019-09-03 at 21:43:58 UTC, Santosh Sivaraj wrote:
> For sizes lesser than 128 bytes, the code branches out early without saving
> the stack frame, which when restored later drops frame of the caller.
> 
> Tested-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>
> Signed-off-by: Santosh Sivaraj <santosh at fossix.org>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/20055a8bfaaa75f2cb9c23ecc8ab12b4abd8dc84

cheers


More information about the Linuxppc-dev mailing list