Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 5 Feb 2003 17:47:50 +0000 (17:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 5 Feb 2003 17:47:50 +0000 (17:47 +0000)
commit5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3
treefccf263aa6d0a0cba3ac7ad5c10ffe9885304d87
parenta88c9263686012ca2a336379b7d66e59dea2b43b
Update.

2003-02-05  Jim Meyering  <jim@meyering.net>

Fix a heap-corrupting bug.
* io/ftw.c: Include <limits.h>.
(PATH_MAX) [!defined PATH_MAX]: Define to 1024.
(process_entry): Allocate enough space to hold the resulting
file name.  Don't presume that 2*dirbufsize is enough.
(ftw_startup): Always use PATH_MAX to compute buffer size, now that
it is guaranteed to be defined.
ChangeLog
io/ftw.c