summaryrefslogtreecommitdiff
path: root/src/malloc
AgeCommit message (Expand)AuthorFilesLines
2018-04-19reintroduce hardening against partially-replaced allocatorRich Felker2-5/+10
2018-04-19return chunks split off by memalign using __bin_chunk instead of freeRich Felker2-7/+5
2018-04-19using malloc implementation types/macros/idioms for memalignRich Felker1-20/+22
2018-04-19move malloc implementation types and macros to an internal headerRich Felker1-37/+1
2018-04-19revert detection of partially-replaced allocatorRich Felker3-15/+6
2018-04-18allow interposition/replacement of allocator (malloc)Rich Felker4-23/+30
2018-04-17remove unused __brk function/source fileRich Felker1-7/+0
2018-04-17comment __malloc_donate overflow logicRich Felker1-0/+3
2018-04-17ldso, malloc: implement reclaim_gaps via __malloc_donateAlexander Monakov1-18/+43
2018-04-17malloc: fix an over-allocation bugAlexander Monakov1-4/+4
2018-04-11optimize malloc0Alexander Monakov1-6/+23
2018-01-09revise the definition of multiple basic locks in the codeJens Gustedt1-1/+1
2017-07-04fix undefined behavior in freeAlexander Monakov1-2/+3
2017-06-15handle mremap failure in realloc of mmap-serviced allocationsRich Felker1-1/+2
2016-12-17use lookup table for malloc bin index instead of float conversionSzabolcs Nagy1-2/+12
2016-01-31fix malloc_usable_size for NULL inputSzabolcs Nagy1-1/+1
2015-11-04remove external linkage from __simple_malloc definitionRich Felker1-1/+1
2015-08-07mitigate blow-up of heap size under malloc/free contentionRich Felker1-14/+14
2015-06-22fix regression/typo that disabled __simple_malloc when calloc is usedRich Felker1-1/+1
2015-06-22fix calloc when __simple_malloc implementation is usedRich Felker3-12/+15
2015-06-14refactor malloc's expand_heap to share with __simple_mallocRich Felker3-81/+126
2015-06-09in malloc, refuse to use brk if it grows into stackRich Felker1-1/+9
2015-03-04remove useless check of bin match in mallocRich Felker1-1/+1
2015-03-04fix init race that could lead to deadlock in malloc init codeRich Felker1-39/+14
2015-03-03make all objects used with atomic operations volatileRich Felker2-6/+6
2014-08-25add malloc_usable_size function and non-stub malloc.hRich Felker1-0/+17
2014-04-02avoid malloc failure for small requests when brk can't be extendedRich Felker1-1/+23
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy1-1/+0
2013-10-05slightly optimize __brk for sizeRich Felker1-1/+1
2013-10-05fix failure of malloc to set errno on heap (brk) exhaustionRich Felker1-0/+1
2013-09-20fix potential deadlock bug in libc-internal locking logicRich Felker1-8/+7
2013-07-23remove redundant check in memalignRich Felker1-1/+1
2013-07-23fix heap corruption bug in memalignRich Felker1-1/+3
2013-07-19harden realloc/free to detect simple overflowsRich Felker1-0/+6
2013-07-04move core memalign code from aligned_alloc to __memalignRich Felker3-49/+55
2013-07-04move alignment check from aligned_alloc to posix_memalignRich Felker2-1/+2
2012-12-07page-align initial brk value used by malloc in shared libcRich Felker1-1/+5
2012-12-06fix invalid read in aligned_allocRich Felker1-2/+3
2012-09-14workaround gcc got-register-reload performance problems in mallocRich Felker1-4/+8
2012-08-25implement "low hanging fruit" from C11Rich Felker3-47/+55
2012-04-24ditch the priority inheritance locks; use malloc's version of lockRich Felker1-4/+4
2011-11-16fix issue with excessive mremap syscalls on reallocRich Felker1-4/+2
2011-08-23use new a_crash() asm to optimize double-free handler.Rich Felker1-2/+2
2011-08-15simplify and improve double-free checkRich Felker1-2/+2
2011-06-29posix_memalign should fail if size is not a multiple of sizeof(void *)Rich Felker1-1/+1
2011-06-26eliminate OOB array hacks in mallocRich Felker1-46/+45
2011-06-12malloc: cast size down to int in bin_index functionsRich Felker1-2/+2
2011-06-06use volatile pointers for intentional-crash code.Rich Felker1-2/+2
2011-04-20namespace fixes for sys/mman.hRich Felker1-0/+1
2011-04-04fix rare but nasty under-allocation bug in malloc with large requestsRich Felker1-1/+1