]> git.ipfire.org Git - thirdparty/glibc.git/commit
CVE-2016-1234: glob: Do not copy d_name field of struct dirent [BZ #19779]
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 May 2016 10:09:35 +0000 (12:09 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 9 May 2016 10:13:37 +0000 (12:13 +0200)
commitc87db3fcbdf890990b44d956621763538c878cd3
tree5053925e4318d623909adf9d46f6bf9b153e95ff
parent68302147ee061c69eb447e243ad9a18ef4cfbc4c
CVE-2016-1234: glob: Do not copy d_name field of struct dirent [BZ #19779]

Instead, we store the data we need from the return value of
readdir in an object of the new type struct readdir_result.
This type is independent of the layout of struct dirent.

(cherry picked from commit 5171f3079f2cc53e0548fc4967361f4d1ce9d7ea)
ChangeLog
NEWS
posix/bug-glob2.c
posix/glob.c
sysdeps/unix/sysv/linux/i386/glob64.c