about summary refs log tree commit diff
path: root/string/strcmp.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-01-10 15:35:37 -0600
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-02-03 16:41:36 -0600
commit1a908d9074102bf3dbe2451ad12f2fbc1abbd7dd (patch)
tree1e7c2e7b884cdcd6544a23818c6259a3fa3dc6f0 /string/strcmp.c
parent43388b3ac09c757af1d94c9071e52b79b4bd8bb4 (diff)
downloadglibc-1a908d9074102bf3dbe2451ad12f2fbc1abbd7dd.tar.gz
glibc-1a908d9074102bf3dbe2451ad12f2fbc1abbd7dd.tar.xz
glibc-1a908d9074102bf3dbe2451ad12f2fbc1abbd7dd.zip
string: Improve coverage in test-strcmp.c and test-strncmp.c
Add additional test cases for small / medium sizes.

Add tests in test-strncmp.c where `n` is near ULONG_MAX or LONG_MIN to
test for overflow bugs in length handling.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'string/strcmp.c')
0 files changed, 0 insertions, 0 deletions