diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-10-19 18:19:55 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-10-19 18:19:55 +0100 |
commit | d74e6f6c0de55fc588b1ac09c88eb0fb8b8600af (patch) | |
tree | e75ef871621bf3c08b6c18bf5f31a373a37fc9a4 /string | |
parent | 4d916f0f12b230f49967797f98b2b613c734a047 (diff) | |
download | glibc-d74e6f6c0de55fc588b1ac09c88eb0fb8b8600af.zip glibc-d74e6f6c0de55fc588b1ac09c88eb0fb8b8600af.tar.gz glibc-d74e6f6c0de55fc588b1ac09c88eb0fb8b8600af.tar.bz2 |
Fix deadlock in _int_free consistency check
This patch fixes a deadlock in the fastbin consistency check.
If we fail the fast check due to concurrent modifications to
the next chunk or system_mem, we should not lock if we already
have the arena lock. Simplify the check to make it obviously
correct.
* malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
Diffstat (limited to 'string')
0 files changed, 0 insertions, 0 deletions