glibc/sysdeps/posix
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
..
alarm.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clock_getres.c Fix symbol definitions for __clock_* functions 2013-06-11 11:11:11 +05:30
clock.c Use (void) in no-arguments function definitions. 2013-06-08 00:22:23 +00:00
closedir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ctermid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
cuserid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dirfd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dirstream.h CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
dup2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
euidaccess.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fdopendir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
flock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fpathconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gai_strerror-strs.h * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. 2005-12-20 17:53:00 +00:00
gai_strerror.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getaddrinfo.c Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL 2013-05-21 21:54:41 +05:30
getcwd.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getdtsz.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gethostname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getpagesize.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gettimeofday.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
isatty.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
isfdtype.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
killpg.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
libc_fatal.c Never call syslog in __libc_message. 2013-03-28 10:38:37 -07:00
Makefile 2006-02-27 Roland McGrath <roland@redhat.com> 2006-02-28 07:05:34 +00:00
mkfifo.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
mkfifoat.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nice.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
open64.c Remove bp-sym.h and BP_SYM uses from C code. 2013-02-14 13:12:02 +00:00
opendir.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
pathconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pause.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
posix_fallocate64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
posix_fallocate.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pread.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
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
profil.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite64.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pwrite.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
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
raise.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readdir_r.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
readdir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
readv.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
remove.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rename.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rewinddir.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
seekdir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
shm_open.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
shm_unlink.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigblock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigignore.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigintr.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
signal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigpause.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigset.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigsetmask.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigsuspend.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigvec.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigwait.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sleep.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
spawni.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sprofil.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sysconf.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
system.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sysv_signal.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
telldir.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tempname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
time.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
timespec_get.c Fix name space use in last commit. 2013-04-23 15:57:25 -07:00
truncate.c Clean up POSIX.1 implementation of truncate. 2013-05-06 14:56:13 -07:00
ttyname_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ttyname.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ulimit.c ulimit: include <limits.h> 2013-01-23 17:27:45 +01:00
utime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
utimes.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
wait3.c Fix copyright notice corruption from update-copyright bug. 2013-01-02 19:28:45 +00:00
wait.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
waitid.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
writev.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00