about summary refs log tree commit diff
path: root/elf/tst-order-a4.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-25 11:17:06 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-10-07 11:09:16 -0300
commit1836bb2ebf62bd9a3588f2ed2d851c8ae810097a (patch)
treee3b9efc4c4ecd3663dc6dfff8b04749bfc1c0025 /elf/tst-order-a4.c
parent645277434a42efc547d2cac8bfede4da10b4049f (diff)
downloadglibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.tar.gz
glibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.tar.xz
glibc-1836bb2ebf62bd9a3588f2ed2d851c8ae810097a.zip
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 'elf/tst-order-a4.c')
0 files changed, 0 insertions, 0 deletions