summaryrefslogtreecommitdiff
path: root/src/malloc/malloc.c
AgeCommit message (Expand)Author
2020-06-03move oldmalloc to its own directory under src/mallocRich Felker
2020-06-03move __expand_heap into malloc.cRich Felker
2020-06-02fix unbounded heap expansion race in mallocRich Felker
2020-05-22restore lock-skipping for processes that return to single-threaded stateRich Felker
2020-05-22don't use libc.threads_minus_1 as relaxed atomic for skipping locksRich Felker
2018-09-12move declarations for malloc internals to malloc_impl.hRich Felker
2018-04-19reintroduce hardening against partially-replaced allocatorRich Felker
2018-04-19return chunks split off by memalign using __bin_chunk instead of freeRich Felker
2018-04-19move malloc implementation types and macros to an internal headerRich Felker
2018-04-19revert detection of partially-replaced allocatorRich Felker
2018-04-18allow interposition/replacement of allocator (malloc)Rich Felker
2018-04-17comment __malloc_donate overflow logicRich Felker
2018-04-17ldso, malloc: implement reclaim_gaps via __malloc_donateAlexander Monakov
2018-04-17malloc: fix an over-allocation bugAlexander Monakov
2018-04-11optimize malloc0Alexander Monakov
2017-07-04fix undefined behavior in freeAlexander Monakov
2017-06-15handle mremap failure in realloc of mmap-serviced allocationsRich Felker
2016-12-17use lookup table for malloc bin index instead of float conversionSzabolcs Nagy
2015-08-07mitigate blow-up of heap size under malloc/free contentionRich Felker
2015-06-22fix calloc when __simple_malloc implementation is usedRich Felker
2015-06-14refactor malloc's expand_heap to share with __simple_mallocRich Felker
2015-06-09in malloc, refuse to use brk if it grows into stackRich Felker
2015-03-04remove useless check of bin match in mallocRich Felker
2015-03-04fix init race that could lead to deadlock in malloc init codeRich Felker
2015-03-03make all objects used with atomic operations volatileRich Felker
2014-04-02avoid malloc failure for small requests when brk can't be extendedRich Felker
2013-10-05fix failure of malloc to set errno on heap (brk) exhaustionRich Felker
2013-09-20fix potential deadlock bug in libc-internal locking logicRich Felker
2013-07-19harden realloc/free to detect simple overflowsRich Felker
2012-12-07page-align initial brk value used by malloc in shared libcRich Felker
2012-09-14workaround gcc got-register-reload performance problems in mallocRich Felker
2011-11-16fix issue with excessive mremap syscalls on reallocRich Felker
2011-08-23use new a_crash() asm to optimize double-free handler.Rich Felker
2011-08-15simplify and improve double-free checkRich Felker
2011-06-26eliminate OOB array hacks in mallocRich Felker
2011-06-12malloc: cast size down to int in bin_index functionsRich Felker
2011-06-06use volatile pointers for intentional-crash code.Rich Felker
2011-04-20namespace fixes for sys/mman.hRich Felker
2011-04-04fix rare but nasty under-allocation bug in malloc with large requestsRich Felker
2011-04-01avoid over-allocation of brk on first mallocRich Felker
2011-03-23very cheap double-free checks in mallocRich Felker
2011-02-20make malloc(0) return unique pointers rather than NULLRich Felker
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker