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