This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nss/21654] Incorrect pointer alignment in NSS group merge result construction

--- Comment #7 from cvs-commit at gcc dot <cvs-commit at gcc dot> ---
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.25/master has been updated
       via  864ea5f6579edfee41f7d4a778807045b5aff66b (commit)
       via  0279dcae8825f5835d636a68372f6b4e72eb27f3 (commit)
      from  ac93084c086ff06f815c405c9eb36a2b1f02da6a (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 -----------------------------------------------------------------;h=864ea5f6579edfee41f7d4a778807045b5aff66b

commit 864ea5f6579edfee41f7d4a778807045b5aff66b
Author: DJ Delorie <>
Date:   Sat Oct 7 13:28:16 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);h=0279dcae8825f5835d636a68372f6b4e72eb27f3

commit 0279dcae8825f5835d636a68372f6b4e72eb27f3
Author: DJ Delorie <>
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]