summaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2019-07-17 02:27:21 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 05:23:22 +0300
commitd1a5dc5e6accbeaabe59e3d55b47f15a8b19c2bd (patch)
treeb1aa30390186d63f5f8c1cbc24045598033b1314 /lib/test_overflow.c
parent33d6e0ff68af74be0c846c8e042e84a9a1a0561e (diff)
downloadlinux-d1a5dc5e6accbeaabe59e3d55b47f15a8b19c2bd.tar.xz
lib/test_string.c: add some testcases for strchr and strnchr
Make sure that the trailing NUL is considered part of the string and can be found. Link: http://lkml.kernel.org/r/20190506124634.6807-4-peda@axentia.se Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions