Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
src
/
malloc
b4b1e10
reintroduce hardening against partially-replaced allocator
by Rich Felker
· 6 years ago
7214179
return chunks split off by memalign using __bin_chunk instead of free
by Rich Felker
· 6 years ago
3c2cbbe
using malloc implementation types/macros/idioms for memalign
by Rich Felker
· 6 years ago
23389b1
move malloc implementation types and macros to an internal header
by Rich Felker
· 6 years ago
618b18c
revert detection of partially-replaced allocator
by Rich Felker
· 6 years ago
c9f415d
allow interposition/replacement of allocator (malloc)
by Rich Felker
· 6 years ago
5020275
remove unused __brk function/source file
by Rich Felker
· 6 years ago
14032c3
comment __malloc_donate overflow logic
by Rich Felker
· 6 years ago
ce7ae11
ldso, malloc: implement reclaim_gaps via __malloc_donate
by Alexander Monakov
· 6 years ago
d889cc3
malloc: fix an over-allocation bug
by Alexander Monakov
· 6 years ago
424eab2
optimize malloc0
by Alexander Monakov
· 7 years ago
32482f6
revise the definition of multiple basic locks in the code
by Jens Gustedt
· 7 years ago
60ab365
fix undefined behavior in free
by Alexander Monakov
· 7 years ago
1c86c7f
handle mremap failure in realloc of mmap-serviced allocations
by Rich Felker
· 7 years ago
61ff1af
use lookup table for malloc bin index instead of float conversion
by Szabolcs Nagy
· 8 years ago
d150764
fix malloc_usable_size for NULL input
by Szabolcs Nagy
· 9 years ago
918b1c1
remove external linkage from __simple_malloc definition
by Rich Felker
· 9 years ago
c376162
mitigate blow-up of heap size under malloc/free contention
by Rich Felker
· 9 years ago
153e952
fix regression/typo that disabled __simple_malloc when calloc is used
by Rich Felker
· 9 years ago
ba81978
fix calloc when __simple_malloc implementation is used
by Rich Felker
· 9 years ago
e3bc22f
refactor malloc's expand_heap to share with __simple_malloc
by Rich Felker
· 9 years ago
276904c
in malloc, refuse to use brk if it grows into stack
by Rich Felker
· 9 years ago
064898c
remove useless check of bin match in malloc
by Rich Felker
· 9 years ago
7a81fe3
fix init race that could lead to deadlock in malloc init code
by Rich Felker
· 9 years ago
56fbaa3
make all objects used with atomic operations volatile
by Rich Felker
· 9 years ago
8d998a7
add malloc_usable_size function and non-stub malloc.h
by Rich Felker
· 10 years ago
5446303
avoid malloc failure for small requests when brk can't be extended
by Rich Felker
· 10 years ago
5717444
include cleanups: remove unused headers and add feature test macros
by Szabolcs Nagy
· 11 years ago
8acbe4f
slightly optimize __brk for size
by Rich Felker
· 11 years ago
a947d31
fix failure of malloc to set errno on heap (brk) exhaustion
by Rich Felker
· 11 years ago
e803829
fix potential deadlock bug in libc-internal locking logic
by Rich Felker
· 11 years ago
4a30ba5
remove redundant check in memalign
by Rich Felker
· 11 years ago
70a92bc
fix heap corruption bug in memalign
by Rich Felker
· 11 years ago
8389520
harden realloc/free to detect simple overflows
by Rich Felker
· 11 years ago
6d861ac
move core memalign code from aligned_alloc to __memalign
by Rich Felker
· 11 years ago
6514161
move alignment check from aligned_alloc to posix_memalign
by Rich Felker
· 11 years ago
b8ccf8e
page-align initial brk value used by malloc in shared libc
by Rich Felker
· 12 years ago
2ad9cf5
fix invalid read in aligned_alloc
by Rich Felker
· 12 years ago
afd209d
workaround gcc got-register-reload performance problems in malloc
by Rich Felker
· 12 years ago
9bff7c1
implement "low hanging fruit" from C11
by Rich Felker
· 12 years ago
4750cf4
ditch the priority inheritance locks; use malloc's version of lock
by Rich Felker
· 12 years ago
e5d78fe
fix issue with excessive mremap syscalls on realloc
by Rich Felker
· 13 years ago
1c8bead
use new a_crash() asm to optimize double-free handler.
by Rich Felker
· 13 years ago
ce7c634
simplify and improve double-free check
by Rich Felker
· 13 years ago
f9ed11f
posix_memalign should fail if size is not a multiple of sizeof(void *)
by Rich Felker
· 13 years ago
5d0965c
eliminate OOB array hacks in malloc
by Rich Felker
· 13 years ago
2afebbb
malloc: cast size down to int in bin_index functions
by Rich Felker
· 13 years ago
71a80c5
use volatile pointers for intentional-crash code.
by Rich Felker
· 13 years ago
b052f13
namespace fixes for sys/mman.h
by Rich Felker
· 13 years ago
b761bd1
fix rare but nasty under-allocation bug in malloc with large requests
by Rich Felker
· 13 years ago
bf87858
avoid over-allocation of brk on first malloc
by Rich Felker
· 13 years ago
620a134
rename __simple_malloc.c to lite_malloc.c - yes this affects behavior!
by Rich Felker
· 13 years ago
0958200
very cheap double-free checks in malloc
by Rich Felker
· 13 years ago
aa398f5
global cleanup to use the new syscall interface
by Rich Felker
· 13 years ago
26031da
make malloc(0) return unique pointers rather than NULL
by Rich Felker
· 14 years ago
598a014
fix simple_malloc malloc(0) behavior not to return non-unique pointers
by Rich Felker
· 14 years ago
a23baf5
fix simple_malloc size restrictions
by Rich Felker
· 14 years ago
0b44a03
initial check-in, version 0.5.0
by Rich Felker
· 14 years ago