about summary refs log tree commit diff
path: root/sysdeps/sparc/sysdep.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-01-18 10:52:18 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-02 09:29:59 -0300
commit18da90677cc412d524a00af6f5242236a5ab1cb6 (patch)
treed78dbc350e4c2c0a53103bca72926bf8a9cbd0a1 /sysdeps/sparc/sysdep.h
parent2ce7abef6767e41c32f6271eece7b5d13c4d6eb5 (diff)
downloadglibc-18da90677cc412d524a00af6f5242236a5ab1cb6.tar.gz
glibc-18da90677cc412d524a00af6f5242236a5ab1cb6.tar.xz
glibc-18da90677cc412d524a00af6f5242236a5ab1cb6.zip
sparc: Fix sparc64 memmove length comparison (BZ 31266)
The small counts copy bytes comparsion should be unsigned (as the
memmove size argument).  It fixes string/tst-memmove-overflow on
sparcv9, where the input size triggers an invalid code path.

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

(cherry picked from commit 926a4bdbb5fc8955570208b5571b2d04c6ffbd1d)
Diffstat (limited to 'sysdeps/sparc/sysdep.h')
0 files changed, 0 insertions, 0 deletions