diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/test-strnlen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/string/test-strnlen.c b/string/test-strnlen.c index 83c4502b9a..4a9375112a 100644 --- a/string/test-strnlen.c +++ b/string/test-strnlen.c @@ -96,6 +96,8 @@ do_overflow_tests (void) for (i = 0; i < 750; ++i) { + do_test (1, i, SIZE_MAX, BIG_CHAR); + do_test (0, i, SIZE_MAX - i, BIG_CHAR); do_test (0, i, i - buf_addr, BIG_CHAR); do_test (0, i, -buf_addr - i, BIG_CHAR); |