CVE-2016-1234: glob: Do not copy d_name field of struct dirent [BZ #19779]
commit5171f3079f2cc53e0548fc4967361f4d1ce9d7ea
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 May 2016 10:09:35 +0000 (4 12:09 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 May 2016 10:09:35 +0000 (4 12:09 +0200)
tree3d23357f6313d2d00017bf641fd61a3dc9459105
parent2faba597eca15666ce46cc721041747e96c8b942
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.
ChangeLog
NEWS
posix/bug-glob2.c
posix/glob.c
sysdeps/unix/sysv/linux/i386/glob64.c