mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
Merge branch 'fix/esp_tee_buffer_overflow_v6.0' into 'release/v6.0'
fix(esp_tee): fix buffer overflow (v6.0) See merge request espressif/esp-idf!49303
This commit is contained in:
@@ -102,7 +102,7 @@ static int buffer_hexdump(const char *label, const void *buffer, size_t length)
|
||||
|
||||
const uint8_t *bytes = (const uint8_t *)buffer;
|
||||
const size_t max_bytes_per_line = 16;
|
||||
char hexbuf[max_bytes_per_line * 3];
|
||||
char hexbuf[max_bytes_per_line * 3 + 2];
|
||||
|
||||
ESP_LOGD(TAG, "%s -", label);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user