about summary refs log tree commit diff
path: root/nis/nis_error.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-03-27 09:06:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-01-27 14:42:27 -0800
commit33046deb9626e35b587db9e722111a450f952e44 (patch)
treeef7b473136a233b570e31797738c55848d4663d2 /nis/nis_error.c
parente218418d4925972ab7979b1712ec15d0cb645b76 (diff)
downloadglibc-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 'nis/nis_error.c')
0 files changed, 0 insertions, 0 deletions