summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-12-29 20:32:35 +0100
committerFlorian Weimer <fweimer@redhat.com>2015-12-29 20:32:35 +0100
commit1bd5483e104c8bde6e61dc5e3f8a848bc861872d (patch)
tree471878accbca82e41d5fc9d1ecafb2b28fc2b8cc /ChangeLog
parentb69b5b3e3e5a5cd9e693db1dc8c94e621561aa95 (diff)
malloc: Test various special cases related to allocation failures
This test case exercises unusual code paths in allocation functions, related to allocation failures. Specifically, the test can reveal the following bugs: (a) calloc returns non-zero memory on fallback to sysmalloc. (b) calloc can self-deadlock because it fails to release the arena lock on certain allocation failures. (c) pvalloc can dereference a NULL arena pointer. (a) and (b) appear specific to a faulty downstream backport. (c) was fixed as part of commit 10ad46bc6526edc5c7afcc57112da96917ff3629. The test for (a) was inspired by a reproducer supplied by Jeff Layton.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 183c55b159..749cc78fa0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-12-29 Florian Weimer <fweimer@redhat.com>
+
+ * malloc/tst-malloc-thread-fail.c: New file.
+ * malloc/Makefile (tests): Add tst-malloc-thread-fail.
+ (tst-malloc-thread-fail): Link against libpthread.
+
2015-12-29 Mike Frysinger <vapier@gentoo.org>
* scripts/list-fixed-bugs.py: Import argparse. Call main instead.