This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nss/21654] Incorrect pointer alignment in NSS group merge result construction
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 07 Oct 2017 12:01:34 +0000
- Subject: [Bug nss/21654] Incorrect pointer alignment in NSS group merge result construction
- Auto-submitted: auto-generated
- References: <bug-21654-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21654
--- Comment #8 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, release/2.24/master has been updated
via b70f43dcef0ca638d2d550ead8007f7c9bb7e4bb (commit)
via caa97d7a46db35a5ddb7bc53e56a866bc180c3b0 (commit)
from d5a4092c367955ac0203ee603fdec625f6c924f9 (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=b70f43dcef0ca638d2d550ead8007f7c9bb7e4bb
commit b70f43dcef0ca638d2d550ead8007f7c9bb7e4bb
Author: DJ Delorie <dj@delorie.com>
Date: Sat Oct 7 13:32:00 2017 +0200
Fix cast-after-dereference
Original code was dereferencing a char*, then casting the value
to size_t. Should cast the pointer to size_t* then deference.
(cherry picked from commit f8cef4d07d9641e27629bd3ce2d13f5d702fb251)
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=caa97d7a46db35a5ddb7bc53e56a866bc180c3b0
commit caa97d7a46db35a5ddb7bc53e56a866bc180c3b0
Author: DJ Delorie <dj@delorie.com>
Date: Fri Jul 14 21:46:42 2017 -0400
Fix BZ #21654 - grp-merge.c alignment
* grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
alignment not char alignment.
(__merge_grp): Likewise.
(cherry picked from commit 4fa8ae49aa169fb8d97882938e8bee3ed9ce5410)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++++++++++++
NEWS | 1 +
grp/grp-merge.c | 18 +++++++++++++++++-
3 files changed, 30 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.