diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-08-25 11:17:06 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-10-07 11:09:16 -0300 |
commit | 1836bb2ebf62bd9a3588f2ed2d851c8ae810097a (patch) | |
tree | e3b9efc4c4ecd3663dc6dfff8b04749bfc1c0025 /io/Makefile | |
parent | 645277434a42efc547d2cac8bfede4da10b4049f (diff) | |
download | glibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.zip glibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.tar.gz glibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.tar.bz2 |
io: Fix ftw internal realloc buffer (BZ #28126)
The 106ff08526d3ca did not take in consideration the buffer might be
reallocated if the total path is larger than PATH_MAX. The realloc
uses 'dirbuf', where 'dirstreams' is the allocated buffer.
Checked on x86_64-linux-gnu.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'io/Makefile')
-rw-r--r-- | io/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io/Makefile b/io/Makefile index 9871ecb..ecf65ab 100644 --- a/io/Makefile +++ b/io/Makefile @@ -79,6 +79,7 @@ tests := test-utime test-stat test-stat2 test-lfs tst-getcwd \ tst-futimens \ tst-utimensat \ tst-closefrom \ + tst-ftw-bz28126 tests-time64 := \ tst-futimens-time64 \ |