mbedtls definitely corrupting memory using dynamic buffers

User avatar
TheRealRevK
Posts: 9
Joined: Mon Aug 26, 2019 7:32 pm

mbedtls definitely corrupting memory using dynamic buffers

Postby TheRealRevK » Thu Jul 08, 2021 1:02 pm

Cloned new esp-idf lastest today 2021-08-21, git show says commit c13afea635adec735435961270d0894ff46eef85

I have tracked down to esp-idf/components/mbedtls/port/dynamic/esp_mbedtls_dynamic_impl.c line 380
Allocates 637 bytes in my case, when freed there is data written past the end of the buffer.

Turning off dynamic buffers fixes.

Who is online

Users browsing this forum: No registered users and 380 guests