summaryrefslogtreecommitdiff
path: root/src/malloc
AgeCommit message (Expand)AuthorLines
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
2016-01-31fix malloc_usable_size for NULL inputSzabolcs Nagy-1/+1
2015-11-04remove external linkage from __simple_malloc definitionRich Felker-1/+1
2015-08-07mitigate blow-up of heap size under malloc/free contentionRich Felker-14/+14
2015-06-22fix regression/typo that disabled __simple_malloc when calloc is usedRich Felker-1/+1
2015-06-22fix calloc when __simple_malloc implementation is usedRich Felker-12/+15
2015-06-14refactor malloc's expand_heap to share with __simple_mallocRich Felker-81/+126
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-6/+6
2014-08-25add malloc_usable_size function and non-stub malloc.hRich Felker-0/+17
2014-04-02avoid malloc failure for small requests when brk can't be extendedRich Felker-1/+23
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-1/+0
2013-10-05slightly optimize __brk for sizeRich Felker-1/+1
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-23remove redundant check in memalignRich Felker-1/+1
2013-07-23fix heap corruption bug in memalignRich Felker-1/+3
2013-07-19harden realloc/free to detect simple overflowsRich Felker-0/+6
2013-07-04move core memalign code from aligned_alloc to __memalignRich Felker-49/+55
2013-07-04move alignment check from aligned_alloc to posix_memalignRich Felker-1/+2
2012-12-07page-align initial brk value used by malloc in shared libcRich Felker-1/+5
2012-12-06fix invalid read in aligned_allocRich Felker-2/+3
2012-09-14workaround gcc got-register-reload performance problems in mallocRich Felker-4/+8
2012-08-25implement "low hanging fruit" from C11Rich Felker-47/+55
2012-04-24ditch the priority inheritance locks; use malloc's version of lockRich Felker-4/+4
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-29posix_memalign should fail if size is not a multiple of sizeof(void *)Rich Felker-1/+1
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-30rename __simple_malloc.c to lite_malloc.c - yes this affects behavior!Rich Felker-0/+0
2011-03-23very cheap double-free checks in mallocRich Felker-0/+4
2011-03-20global cleanup to use the new syscall interfaceRich Felker-1/+1
2011-02-20make malloc(0) return unique pointers rather than NULLRich Felker-6/+10
2011-02-20fix simple_malloc malloc(0) behavior not to return non-unique pointersRich Felker-0/+1
2011-02-20fix simple_malloc size restrictionsRich Felker-5/+6
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+671