libc/io ftw.c
drepper@sources.redhat.com
drepper@sources.redhat.com
Wed Feb 5 17:46:00 GMT 2003
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2003-02-05 17:46:13
Modified files:
io : ftw.c
Log message:
Fix a heap-corrupting bug.
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.
More information about the Glibc-cvs
mailing list