jemalloc/src
Jason Evans 1819ae581c Fix OOM-related regression in arena_tcache_fill_small().
Fix an OOM-related regression in arena_tcache_fill_small() that caused
cache corruption that would almost certainly expose the application to
undefined behavior, usually in the form of an allocation request
returning an already-allocated region, or somewhat less likely, a freed
region that had already been returned to the arena, thus making it
available to the arena for any purpose.

This regression was introduced by
9c43c13a35 (Reverse tcache fill order.),
and was present in all releases from 2.2.0 through 3.6.0.

This resolves #98.
2016-12-06 10:57:43 -08:00
..
arena.c Fix OOM-related regression in arena_tcache_fill_small(). 2016-12-06 10:57:43 -08:00
atomic.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
base.c Fix Valgrind integration. 2013-01-31 17:02:53 -08:00
bitmap.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
chunk.c Convert rtree from (void *) to (uint8_t) storage. 2014-01-02 17:36:38 -08:00
chunk_dss.c Avoid deprecated sbrk(2) on OS X. 2013-12-03 21:49:36 -08:00
chunk_mmap.c Refactor tests. 2013-12-08 20:52:21 -08:00
ckh.c Fix inline-related macro issues. 2013-12-10 14:35:34 -08:00
ctl.c Fix a few mallctl() documentation errors. 2013-12-19 21:40:41 -08:00
extent.c Reduce cpp conditional logic complexity. 2012-02-10 20:22:09 -08:00
hash.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
huge.c Use arena dss prec instead of default for huge allocs. 2014-03-28 13:43:58 -07:00
jemalloc.c Use arena dss prec instead of default for huge allocs. 2014-03-28 13:43:58 -07:00
mb.c Move repo contents in jemalloc/ to top level. 2011-03-31 20:36:17 -07:00
mutex.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
prof.c Consistently use debug lib(s) if present 2014-03-28 13:47:59 -07:00
quarantine.c Add quarantine unit tests. 2013-12-17 15:19:12 -08:00
rtree.c Convert rtree from (void *) to (uint8_t) storage. 2014-01-02 17:36:38 -08:00
stats.c Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
tcache.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
tsd.c Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
util.c Test and fix malloc_printf("%%"). 2014-01-22 09:00:27 -08:00
zone.c Prefer not_reached() over assert(false) where appropriate. 2013-10-21 14:56:27 -07:00