[Bug malloc/23907] Incorrect double-free malloc tcache check disregards tcache size

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Wed Dec 12 11:33:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23907

--- Comment #6 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.28/master has been updated
       via  ea16a6938d7ca5f4c2b67c11251c70b30796602a (commit)
      from  b5a9a19b82bb00b5419162f49331a7580ac06b4e (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=ea16a6938d7ca5f4c2b67c11251c70b30796602a

commit ea16a6938d7ca5f4c2b67c11251c70b30796602a
Author: DJ Delorie <dj@redhat.com>
Date:   Fri Nov 30 22:13:09 2018 -0500

    malloc: Add another test for tcache double free check.

    This one tests for BZ#23907 where the double free
    test didn't check the tcache bin bounds before dereferencing
    the bin.

    [BZ #23907]
    * malloc/tst-tcfree3.c: New.
    * malloc/Makefile: Add it.

    (cherry picked from commit 7c9a7c68363051cfc5fa1ebb96b3b2c1f82dcb76)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    6 +++++
 malloc/Makefile      |    2 +-
 malloc/tst-tcfree3.c |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+), 1 deletions(-)
 create mode 100644 malloc/tst-tcfree3.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list