aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-10-19 18:19:55 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2017-10-19 18:19:55 +0100
commitd74e6f6c0de55fc588b1ac09c88eb0fb8b8600af (patch)
treee75ef871621bf3c08b6c18bf5f31a373a37fc9a4 /ChangeLog
parent4d916f0f12b230f49967797f98b2b613c734a047 (diff)
downloadglibc-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 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea655fc..17a2833 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
+
2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
H.J. Lu <hongjiu.lu@intel.com>