]> sourceware.org Git - glibc.git/commit
malloc: tcache: Validate tc_idx before checking for double-frees [BZ #23907]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 26 Nov 2018 19:06:37 +0000 (20:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 26 Nov 2018 19:06:37 +0000 (20:06 +0100)
commitaffec03b713c82c43a5b025dddc21bde3334f41e
tree3026478268be021b7ba6d0d2650ce511cbf588b4
parent8ae74eadb60eb36424e4605939cef5fc966724be
malloc: tcache: Validate tc_idx before checking for double-frees [BZ #23907]

The previous check could read beyond the end of the tcache entry
array.  If the e->key == tcache cookie check happened to pass, this
would result in crashes.
ChangeLog
malloc/malloc.c
This page took 0.038551 seconds and 5 git commands to generate.