diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-03-27 09:06:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-27 14:42:27 -0800 |
commit | 33046deb9626e35b587db9e722111a450f952e44 (patch) | |
tree | ef7b473136a233b570e31797738c55848d4663d2 /debug/stpcpy_chk.c | |
parent | e218418d4925972ab7979b1712ec15d0cb645b76 (diff) | |
download | glibc-33046deb9626e35b587db9e722111a450f952e44.tar.gz glibc-33046deb9626e35b587db9e722111a450f952e44.tar.xz glibc-33046deb9626e35b587db9e722111a450f952e44.zip |
test-strnlen.c: Check that strnlen won't go beyond the maximum length
Place strings ending at page boundary without the null byte. If an implementation goes beyond EXP_LEN, it will trigger the segfault. (cherry picked from commit cb882b21b63606aabd6e55afe23b42434d95f2ef)
Diffstat (limited to 'debug/stpcpy_chk.c')
0 files changed, 0 insertions, 0 deletions