diff options
Diffstat (limited to 'posix/tst-glob_symlinks.c')
-rw-r--r-- | posix/tst-glob_symlinks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-glob_symlinks.c b/posix/tst-glob_symlinks.c index 5c4b4ecf4a..3a86f4c8cc 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); |