This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug glob/19779] glob: buffer overflow with GLOB_ALTDIRFUNC due to incorrect NAME_MAX limit assumption (CVE-2016-1234)
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 12 Nov 2016 06:43:07 +0000
- Subject: [Bug glob/19779] glob: buffer overflow with GLOB_ALTDIRFUNC due to incorrect NAME_MAX limit assumption (CVE-2016-1234)
- Auto-submitted: auto-generated
- References: <bug-19779-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19779
--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, gentoo/2.23 has been updated
via 60b2487e0f0454a0f9db1f645df38f4183e010bc (commit)
from a78ac0f8618eaca0ad2162c9fbda74faa64d9566 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=60b2487e0f0454a0f9db1f645df38f4183e010bc
commit 60b2487e0f0454a0f9db1f645df38f4183e010bc
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed May 4 12:09:35 2016 +0200
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)
(cherry picked from commit c87db3fcbdf890990b44d956621763538c878cd3)
-----------------------------------------------------------------------
Summary of changes:
posix/bug-glob2.c | 14 ++-
posix/glob.c | 223 ++++++++++++++++++---------------
sysdeps/unix/sysv/linux/i386/glob64.c | 22 ++++
3 files changed, 159 insertions(+), 100 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.