glibc/sysdeps/unix/sysv/linux/wordsize-64
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
..
aio_read64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_read.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
creat64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
dl-fxstatat64.c Improve 64-bit build 2011-06-15 21:46:20 -04:00
fallocate64.c * sysdeps/unix/sysv/linux/fallocate.c: New file. 2009-03-02 16:15:58 +00:00
fallocate.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c
ftruncate64.c
fxstat64.c
fxstat.c Remove CHECK_1 and CHECK_1_NULL_OK. 2013-02-08 01:12:11 +00:00
fxstatat64.c
fxstatat.c Remove CHECK_1 and CHECK_1_NULL_OK. 2013-02-08 01:12:11 +00:00
getdents64.c
getdents.c
getdirentries64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
getdirentries.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
getrlimit64.c
glob64.c Fix glob64 broken by cleanup. 2013-05-06 17:11:12 -07:00
internal_statvfs64.c
lio_listio64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lio_listio.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lxstat64.c
lxstat.c Remove CHECK_1 and CHECK_1_NULL_OK. 2013-02-08 01:12:11 +00:00
mmap64.c
open64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
openat64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
openat.c Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}. 2013-05-03 16:33:26 -07:00
posix_fadvise64.c
posix_fadvise.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
posix_fallocate64.c
posix_fallocate.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread64.c
preadv64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
preadv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite64.c
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwritev.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readdir64_r.c
readdir64.c
readdir_r.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
readdir.c Move common dirent implementation from sysdeps/unix to sysdeps/posix. 2012-08-07 14:47:34 -07:00
sendfile64.c
setrlimit64.c
statfs64.c
statvfs64.c
statvfs.c
syscalls.list Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
truncate64.c
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
xstat64.c
xstat.c Remove CHECK_1 and CHECK_1_NULL_OK. 2013-02-08 01:12:11 +00:00