This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/22025] iconv: Inconsistency between pointer mangling and NULL checks
- 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 13:57:10 +0000
- Subject: [Bug locale/22025] iconv: Inconsistency between pointer mangling and NULL checks
- Auto-submitted: auto-generated
- References: <bug-22025-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22025
--- Comment #1 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 1cf1232cd4721dc155a5cf7d571e5b1dae506430 (commit)
from f11f2f6e145d6fc6b52f6b0733599f8b96595733 (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=1cf1232cd4721dc155a5cf7d571e5b1dae506430
commit 1cf1232cd4721dc155a5cf7d571e5b1dae506430
Author: Patsy Franklin <pfrankli@redhat.com>
Date: Tue Aug 29 15:53:28 2017 +0200
gconv: Consistently mangle NULL function pointers [BZ #22025]
Not mangling NULL pointers is not safe because with very low
probability, a non-NULL function pointer can turn into a NULL pointer
after mangling.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 20 ++++++++++++++++++++
iconv/gconv_cache.c | 11 +++++------
iconv/gconv_db.c | 41 ++++++++++++++++-------------------------
iconv/gconv_dl.c | 6 ++----
wcsmbs/btowc.c | 8 ++++----
5 files changed, 47 insertions(+), 39 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.