summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-05 17:47:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-05 17:47:50 +0000
commit5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3 (patch)
treefccf263aa6d0a0cba3ac7ad5c10ffe9885304d87 /libio
parenta88c9263686012ca2a336379b7d66e59dea2b43b (diff)
downloadglibc-5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3.tar.gz
glibc-5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3.tar.xz
glibc-5049f1971ec7c2893e0e5b8a7f1eb7d2909f8bd3.zip
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.
Diffstat (limited to 'libio')
0 files changed, 0 insertions, 0 deletions