summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2012-04-21 20:33:48 (GMT)
committerJason Evans <jasone@canonware.com>2012-04-21 20:33:48 (GMT)
commit8f0e0eb1c01d5d934586ea62e519ca8b8637aebc (patch)
treec0281d50a3731242730249b7285a67fec4536428 /ChangeLog
parent606f1fdc3cdbc700717133ca56685313caea24bb (diff)
downloadjemalloc-8f0e0eb1c01d5d934586ea62e519ca8b8637aebc.zip
jemalloc-8f0e0eb1c01d5d934586ea62e519ca8b8637aebc.tar.gz
jemalloc-8f0e0eb1c01d5d934586ea62e519ca8b8637aebc.tar.bz2
Fix a memory corruption bug in chunk_alloc_dss().
Fix a memory corruption bug in chunk_alloc_dss() that was due to claiming newly allocated memory is zeroed. Reverse order of preference between mmap() and sbrk() to prefer mmap(). Clean up management of 'zero' parameter in chunk_alloc*().
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog2
1 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d5670f..b71fa16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -70,6 +70,8 @@ found in the git revision history:
invalid statistics and crashes.
- Work around TLS dallocation via free() on Linux. This bug could cause
write-after-free memory corruption.
+ - Fix chunk_alloc_dss() to stop claiming memory is zeroed. This bug could
+ cause memory corruption and crashes with --enable-dss specified.
- Fix malloc_stats_print() to honor 'b' and 'l' in the opts parameter.
- Fix realloc(p, 0) to act like free(p).
- Do not enforce minimum alignment in memalign().