mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
b0c5665f15
During a call to multi_heap_malloc(), if both these conditions were true: - That heap only has one block large enough for the allocation (this is always the case if the heap is unfragmented). - Another allocation is simultaneously occurring in the same heap. ... multi_heap_malloc() could incorrectly return NULL. This caused IDF heap_caps_malloc() and malloc() to also fail, particularly often if only one or two heaps had space for the allocation (otherwise heap_caps_malloc() fails over to the next heap). |
||
---|---|---|
.. | ||
include | ||
test | ||
test_multi_heap_host | ||
component.mk | ||
heap_caps_init.c | ||
heap_caps.c | ||
heap_private.h | ||
heap_trace.c | ||
Kconfig | ||
multi_heap_config.h | ||
multi_heap_internal.h | ||
multi_heap_platform.h | ||
multi_heap_poisoning.c | ||
multi_heap.c |