mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
f4ab9a440a
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should return the original size asked by the user (without the additional canary bytes). test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size regardless of the degree of poisoning. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
component.mk | ||
test_aligned_alloc_caps.c | ||
test_allocator_timings.c | ||
test_corruption_check.c | ||
test_diram.c | ||
test_heap_trace.c | ||
test_leak.c | ||
test_malloc_caps.c | ||
test_malloc.c | ||
test_realloc.c | ||
test_runtime_heap_reg.c |