diff options
author | Santosh Sivaraj <santosh@fossix.org> | 2019-09-04 03:13:58 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-09-12 09:27:00 +1000 |
commit | 20055a8bfaaa75f2cb9c23ecc8ab12b4abd8dc84 (patch) | |
tree | 3d64b3e4bd6df2e322a47712bd65d72c46f77bb3 /tools/testing/selftests/powerpc | |
parent | powerpc: Add attributes for setjmp/longjmp (diff) | |
download | linux-dev-20055a8bfaaa75f2cb9c23ecc8ab12b4abd8dc84.tar.xz linux-dev-20055a8bfaaa75f2cb9c23ecc8ab12b4abd8dc84.zip |
powerpc/memcpy: Fix stack corruption for smaller sizes
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@linux.ibm.com>
Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190903214359.23887-1-santosh@fossix.org
Diffstat (limited to 'tools/testing/selftests/powerpc')
0 files changed, 0 insertions, 0 deletions