diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | posix/tst-glob_symlinks.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2017-12-18 Joseph Myers <joseph@codesourcery.com> + * posix/tst-glob_symlinks.c (do_test): Increase size of buf. + * string/tester.c (test_strncat): Also disable -Warray-bounds warnings for two tests. diff --git a/posix/tst-glob_symlinks.c b/posix/tst-glob_symlinks.c index 5c4b4ec..3a86f4c 100644 --- a/posix/tst-glob_symlinks.c +++ b/posix/tst-glob_symlinks.c @@ -94,7 +94,7 @@ do_prepare (int argc, char *argv[]) static int do_test (void) { - char buf[PATH_MAX]; + char buf[PATH_MAX + 1]; glob_t gl; TEST_VERIFY_EXIT (glob (valid_link, 0, NULL, &gl) == 0); |