1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/malloc_thread_safe
Marian Buschsieweke eefed0e0cd
sys/malloc_thread_safety: fix overflow in calloc
some standard c libraries (e.g. newlib before 4.0.0) don't perform
proper overflow check in the multiplication. We just implement calloc
here ourselves on top of malloc with proper overflow check in place.
This might even safe a handful of ROM bytes.
2021-05-06 13:04:01 +02:00
..
doc.txt sys/malloc_thread_safe: split out of cpu/atmega_common 2020-12-17 15:39:05 +01:00
Kconfig sys/malloc_thread_safe: split out of cpu/atmega_common 2020-12-17 15:39:05 +01:00
Makefile sys/malloc_thread_safe: split out of cpu/atmega_common 2020-12-17 15:39:05 +01:00
Makefile.include sys/malloc_thread_safe: split out of cpu/atmega_common 2020-12-17 15:39:05 +01:00
malloc_wrappers.c sys/malloc_thread_safety: fix overflow in calloc 2021-05-06 13:04:01 +02:00