From 5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 5 Feb 2003 17:47:50 +0000 Subject: Update. 2003-02-05 Jim Meyering Fix a heap-corrupting bug. * io/ftw.c: Include . (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 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9c0662b1bd..ed332363e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-02-05 Jim Meyering + + Fix a heap-corrupting bug. + * io/ftw.c: Include . + (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. + 2003-02-04 Ulrich Drepper * iconvdata/Makefile: Add rules to build and run bug-iconv3. -- cgit v1.2.3-70-g09d2