fix(esp_tee): fix buffer overflow

This commit is contained in:
Alexey Lapshin
2026-06-05 12:25:23 +07:00
parent 2002147714
commit 8e4c3f5c0d
@@ -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);