summaryrefslogtreecommitdiff
path: root/src/malloc
AgeCommit message (Expand)AuthorFilesLines
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
2011-04-01avoid over-allocation of brk on first mallocRich Felker1-4/+4
2011-03-30rename __simple_malloc.c to lite_malloc.c - yes this affects behavior!Rich Felker1-0/+0
2011-03-23very cheap double-free checks in mallocRich Felker1-0/+4
2011-03-20global cleanup to use the new syscall interfaceRich Felker1-1/+1
2011-02-20make malloc(0) return unique pointers rather than NULLRich Felker2-6/+10
2011-02-20fix simple_malloc malloc(0) behavior not to return non-unique pointersRich Felker1-0/+1
2011-02-20fix simple_malloc size restrictionsRich Felker1-5/+6
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker7-0/+671