This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/22026] iconv_open: heap overflow on gconv_init failure
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 29 Aug 2017 15:36:02 +0000
- Subject: [Bug locale/22026] iconv_open: heap overflow on gconv_init failure
- Auto-submitted: auto-generated
- References: <bug-22026-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22026
--- Comment #2 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, master has been updated
via 251bccfa1fcb3568e43546b0df33e052889406c1 (commit)
from e7c18b9d0aacb02f9d6edffdf4d1e26a54fbfb84 (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=251bccfa1fcb3568e43546b0df33e052889406c1
commit 251bccfa1fcb3568e43546b0df33e052889406c1
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Aug 29 17:33:58 2017 +0200
iconv_open: Fix heap corruption on gconv_init failure [BZ #22026]
Also mangle the __end_fct function pointer on the error handling
path.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 16 ++++++++++
iconv/Makefile | 14 ++++++++
iconv/gconv_db.c | 9 ++++-
iconv/test-gconv-modules | 23 ++++++++++++++
iconv/tst-gconv-init-failure-mod.c | 49 ++++++++++++++++++++++++++++++
iconv/tst-gconv-init-failure.c | 58 ++++++++++++++++++++++++++++++++++++
6 files changed, 167 insertions(+), 2 deletions(-)
create mode 100644 iconv/test-gconv-modules
create mode 100644 iconv/tst-gconv-init-failure-mod.c
create mode 100644 iconv/tst-gconv-init-failure.c
--
You are receiving this mail because:
You are on the CC list for the bug.