diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-27 09:34:07 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-28 11:30:55 -0300 |
commit | 675bdaeeca74a28c269b05417e15fb49aa24cc1d (patch) | |
tree | b348cc05c70db856c44027d96b4046fbda4d98ee /LICENSES | |
parent | 3862773e1efba89ac7da43be80e64140b073c4e2 (diff) | |
download | glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.tar glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.tar.gz glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.tar.bz2 glibc-675bdaeeca74a28c269b05417e15fb49aa24cc1d.zip |
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 'LICENSES')
0 files changed, 0 insertions, 0 deletions