summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2013-02-01 00:53:58 (GMT)
committerJason Evans <je@fb.com>2013-02-01 00:53:58 (GMT)
commita7a28c334e5526ba716bf6046eab8d60598183eb (patch)
tree104603607d9fd1940ca8a0a3d1db738639266a12 /ChangeLog
parentd0e942e4669b8600b0bd7e5ae132ae26d10a40ed (diff)
downloadjemalloc-a7a28c334e5526ba716bf6046eab8d60598183eb.zip
jemalloc-a7a28c334e5526ba716bf6046eab8d60598183eb.tar.gz
jemalloc-a7a28c334e5526ba716bf6046eab8d60598183eb.tar.bz2
Fix a chunk recycling bug.
Fix a chunk recycling bug that could cause the allocator to lose track of whether a chunk was zeroed. On FreeBSD, NetBSD, and OS X, it could cause corruption if allocating via sbrk(2) (unlikely unless running with the "dss:primary" option specified). This was completely harmless on Linux unless using mlockall(2) (and unlikely even then, unless the --disable-munmap configure option or the "dss:primary" option was specified). This regression was introduced in 3.1.0 by the mlockall(2)/madvise(2) interaction fix.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f2cc45..ee63cb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,14 @@ found in the git revision history:
* 3.x.x (XXX Not yet released)
Bug fixes:
+ - Fix a chunk recycling bug that could cause the allocator to lose track of
+ whether a chunk was zeroed. On FreeBSD, NetBSD, and OS X, it could cause
+ corruption if allocating via sbrk(2) (unlikely unless running with the
+ "dss:primary" option specified). This was completely harmless on Linux
+ unless using mlockall(2) (and unlikely even then, unless the
+ --disable-munmap configure option or the "dss:primary" option was
+ specified). This regression was introduced in 3.1.0 by the
+ mlockall(2)/madvise(2) interaction fix.
- Fix TLS-related memory corruption that could occur during thread exit if the
thread never allocated memory. Only the quarantine and prof facilities were
susceptible.