36 Commits (72141795d4edd17f88da192447395a48444afa10)

Author SHA1 Message Date
Rich Felker 72141795d4 return chunks split off by memalign using __bin_chunk instead of free 8 years ago
Rich Felker 23389b1988 move malloc implementation types and macros to an internal header 8 years ago
Rich Felker 618b18c78e revert detection of partially-replaced allocator 8 years ago
Rich Felker c9f415d7ea allow interposition/replacement of allocator (malloc) 8 years ago
Rich Felker 14032c30e2 comment __malloc_donate overflow logic 8 years ago
Alexander Monakov ce7ae11acf ldso, malloc: implement reclaim_gaps via __malloc_donate 8 years ago
Alexander Monakov d889cc3463 malloc: fix an over-allocation bug 8 years ago
Alexander Monakov 424eab2225 optimize malloc0 9 years ago
Alexander Monakov 60ab365cae fix undefined behavior in free 9 years ago
Rich Felker 1c86c7f5c2 handle mremap failure in realloc of mmap-serviced allocations 9 years ago
Szabolcs Nagy 61ff1af76f use lookup table for malloc bin index instead of float conversion 10 years ago
Rich Felker c3761622e8 mitigate blow-up of heap size under malloc/free contention 11 years ago
Rich Felker ba819787ee fix calloc when __simple_malloc implementation is used 11 years ago
Rich Felker e3bc22f1ef refactor malloc's expand_heap to share with __simple_malloc 11 years ago
Rich Felker 276904c2f6 in malloc, refuse to use brk if it grows into stack 11 years ago
Rich Felker 064898cfe2 remove useless check of bin match in malloc 11 years ago
Rich Felker 7a81fe3710 fix init race that could lead to deadlock in malloc init code 11 years ago
Rich Felker 56fbaa3bbe make all objects used with atomic operations volatile 11 years ago
Rich Felker 5446303328 avoid malloc failure for small requests when brk can't be extended 12 years ago
Rich Felker a947d317a2 fix failure of malloc to set errno on heap (brk) exhaustion 13 years ago
Rich Felker e803829e6b fix potential deadlock bug in libc-internal locking logic 13 years ago
Rich Felker 8389520ed5 harden realloc/free to detect simple overflows 13 years ago
Rich Felker b8ccf8e46b page-align initial brk value used by malloc in shared libc 14 years ago
Rich Felker afd209deb7 workaround gcc got-register-reload performance problems in malloc 14 years ago
Rich Felker e5d78fe8df fix issue with excessive mremap syscalls on realloc 15 years ago
Rich Felker 1c8bead345 use new a_crash() asm to optimize double-free handler. 15 years ago
Rich Felker ce7c6341d3 simplify and improve double-free check 15 years ago
Rich Felker 5d0965cb56 eliminate OOB array hacks in malloc 15 years ago
Rich Felker 2afebbbcd1 malloc: cast size down to int in bin_index functions 15 years ago
Rich Felker 71a80c5767 use volatile pointers for intentional-crash code. 15 years ago
Rich Felker b052f13cd1 namespace fixes for sys/mman.h 15 years ago
Rich Felker b761bd19aa fix rare but nasty under-allocation bug in malloc with large requests 15 years ago
Rich Felker bf8785825a avoid over-allocation of brk on first malloc 15 years ago
Rich Felker 0958200166 very cheap double-free checks in malloc 15 years ago
Rich Felker 26031da0f8 make malloc(0) return unique pointers rather than NULL 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago