Florian Weimer 91ce40854d CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
	member.
	* sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
	member.
	* sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
	* sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
	Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
	conditional.
	* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
	GETDENTS_64BIT_ALIGNED.
	* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
	* manual/filesys.texi (Reading/Closing Directory): Document
	ENAMETOOLONG return value of readdir_r.  Recommend readdir more
	strongly.
	* manual/conf.texi (Limits for Files): Add portability note to
	NAME_MAX, PATH_MAX.
	(Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2013-08-16 09:40:34 +02:00
..
2013-05-28 17:20:24 -04:00
2012-07-09 04:41:13 -07:00
2013-08-01 17:27:04 -07:00
2012-03-21 16:56:28 +00:00
2013-03-14 12:37:42 +05:30
dir
..
2005-11-21 15:45:19 +00:00
2013-05-30 05:51:22 -06:00
2012-03-21 16:56:28 +00:00
2013-06-05 20:44:03 +00:00
2013-03-19 14:28:20 +05:30
2013-02-20 13:30:23 -05:00
2013-02-24 21:06:00 +10:00
2013-06-25 17:21:48 +00:00
2001-05-18 13:01:32 +00:00