Skip to content
Commit 1836bb2e authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

io: Fix ftw internal realloc buffer (BZ #28126)



The 106ff085 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: default avatarH.J. Lu <hjl.tools@gmail.com>
parent 64527743
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment