Merge branch 'fix(esp_tls)/dynamic_buffer_ssl_crash_v5.5' into 'release/v5.5'

fix(esp_tls): fix potential ssl crash with dynamic buffer (v5.5)

See merge request espressif/esp-idf!42138
This commit is contained in:
Mahavir Jain
2025-09-28 15:10:37 +05:30
+1 -1
View File
@@ -266,7 +266,7 @@ int esp_mbedtls_handshake(esp_tls_t *tls, const esp_tls_cfg_t *cfg)
ret = esp_mbedtls_dynamic_set_rx_buf_static(&tls->ssl);
if (ret != 0) {
ESP_LOGE(TAG, "esp_mbedtls_dynamic_set_rx_buf_static returned -0x%04X", -ret);
return ret;
return -1;
}
}
#endif