mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
69bcbe97f4
The number of the DMA descriptors allocated for certain length (e.g., 8176) were not sufficient (off by 1 error). This used to result in the dynamic memory corruption as the region was modified beyond the allocated range. This change fixes the DMA descriptor calculation part and allocates sufficient DMA descriptors based on the data length alignment considerations. Test has also been added to cover the specific scenario in the CI. Closes https://github.com/espressif/esp-idf/issues/11310 |
||
---|---|---|
.. | ||
aes | ||
crypto_shared_gdma | ||
dynamic | ||
ecc | ||
ecdsa | ||
esp32 | ||
esp32c3 | ||
esp32c6 | ||
esp32h2 | ||
esp32s2 | ||
esp32s3 | ||
esp_ds | ||
include | ||
md | ||
sha | ||
esp_bignum.c | ||
esp_hardware.c | ||
esp_mem.c | ||
esp_timing.c | ||
mbedtls_debug.c | ||
net_sockets.c |