aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tst-scanf-binary-gnu89.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-27 09:34:07 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-28 11:30:55 -0300
commit675bdaeeca74a28c269b05417e15fb49aa24cc1d (patch)
treeb348cc05c70db856c44027d96b4046fbda4d98ee /stdio-common/tst-scanf-binary-gnu89.c
parent3862773e1efba89ac7da43be80e64140b073c4e2 (diff)
downloadglibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.zip
glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.tar.gz
glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.tar.bz2
crypt: Remove invalid end of page test badsalttest
The input argument passes an invalid string without a NUL terminator on crypt settings inputs, which might lead to invalid OOB on strncmp. Implementations only assume there is a NUL terminator if the string is shorter than the specified size, so strings don't need to always be NUL terminated (stratcliff.c has tests for this). Also adapt the code to use libsupport. Checked on arm-linux-gnuabihf.
Diffstat (limited to 'stdio-common/tst-scanf-binary-gnu89.c')
0 files changed, 0 insertions, 0 deletions