Closed
Description
Same problem as reported (and fixed) here: #2201
Buffer is being allocated if vsnprintf
reports 64 or more characters (due to the trailing \0):
arduino-esp32/cores/esp32/esp32-hal-uart.c
Lines 440 to 441 in 310e78e
But the buffer is only being released if more than 64 characters had been reported by
vsnprintf
:arduino-esp32/cores/esp32/esp32-hal-uart.c
Lines 459 to 460 in 310e78e
Probably related: #2033 (happens only when debug is on and free heap drops by 64 bytes each time)
Code to reproduce:
log_printf("1234567890123456789012345678901234567890123456789012345678901234");
Metadata
Metadata
Assignees
Labels
No labels