27 Commits (5db951ef80cae8b627f95b995811bf916c069757)

Author SHA1 Message Date
Rich Felker 4a30ba5ca4 remove redundant check in memalign 13 years ago
Rich Felker 70a92bc968 fix heap corruption bug in memalign 13 years ago
Rich Felker 8389520ed5 harden realloc/free to detect simple overflows 13 years ago
Rich Felker 6d861ac874 move core memalign code from aligned_alloc to __memalign 13 years ago
Rich Felker 651416182d move alignment check from aligned_alloc to posix_memalign 13 years ago
Rich Felker b8ccf8e46b page-align initial brk value used by malloc in shared libc 14 years ago
Rich Felker 2ad9cf52eb fix invalid read in aligned_alloc 14 years ago
Rich Felker afd209deb7 workaround gcc got-register-reload performance problems in malloc 14 years ago
Rich Felker 9bff7c133e implement "low hanging fruit" from C11 14 years ago
Rich Felker 4750cf4202 ditch the priority inheritance locks; use malloc's version of lock 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 f9ed11f3e1 posix_memalign should fail if size is not a multiple of sizeof(void *) 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 620a134638 rename __simple_malloc.c to lite_malloc.c - yes this affects behavior! 15 years ago
Rich Felker 0958200166 very cheap double-free checks in malloc 15 years ago
Rich Felker aa398f56fa global cleanup to use the new syscall interface 15 years ago
Rich Felker 26031da0f8 make malloc(0) return unique pointers rather than NULL 15 years ago
Rich Felker 598a0147cd fix simple_malloc malloc(0) behavior not to return non-unique pointers 15 years ago
Rich Felker a23baf586a fix simple_malloc size restrictions 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago