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-02-08 14:55:50 -08:00
2012-12-11 09:02:37 +05:30
2013-05-28 17:20:24 -04:00
2012-07-09 04:41:13 -07:00
2013-08-16 09:40:34 +02:00
2013-08-01 17:27:04 -07:00
2012-03-21 16:56:28 +00:00
2012-02-28 14:44:20 +00:00
2012-02-28 14:44:20 +00:00
2013-03-14 12:37:42 +05:30
2005-11-21 15:45:19 +00:00
2013-05-30 05:51:22 -06:00
2012-02-24 12:58:10 -08:00
2013-08-16 09:40:34 +02:00
2013-02-11 14:16:43 -08:00
2012-02-28 14:44:20 +00:00
2013-07-21 15:39:55 -04:00
2012-03-21 16:56:28 +00:00
2012-03-08 01:27:38 +00:00
2012-03-08 01:27:38 +00:00
2012-07-20 23:49:24 +00:00
2011-06-06 16:16:55 -07:00
2013-02-24 21:05:58 +10:00
2013-01-02 19:43:40 +00:00
2013-06-05 20:44:03 +00:00
2013-04-12 13:11:20 -07:00
2012-02-28 14:44:20 +00:00
2012-03-08 01:27:38 +00:00
2012-11-04 19:59:40 +01:00
2013-03-19 14:28:20 +05:30
2013-02-11 14:16:43 -08:00
2013-03-17 16:03:02 -04:00
2013-05-07 12:33:44 -04:00
2013-02-20 13:30:23 -05:00
2013-01-13 13:24:28 -05:00
2012-03-08 01:27:38 +00:00
2013-05-26 18:06:30 +02:00
2012-03-08 01:27:38 +00:00
2013-02-11 14:16:43 -08:00
2013-02-11 14:16:43 -08:00
2012-07-17 10:05:55 +02:00
2013-02-11 14:16:43 -08:00
2013-02-24 21:06:00 +10:00
2013-02-11 14:16:43 -08:00
2013-02-11 14:16:43 -08:00
2013-02-11 14:16:43 -08:00
2013-01-02 19:05:09 +00:00
2013-02-11 14:16:43 -08:00
2013-02-11 14:16:43 -08:00
2013-02-11 14:16:43 -08:00
2013-06-25 17:21:48 +00:00
2013-06-15 12:27:41 +05:30
2013-02-11 14:16:43 -08:00
2013-01-02 19:05:09 +00:00
2013-02-11 14:16:43 -08:00
2003-11-12 00:50:03 +00:00