From 8dd803a05eb2fd8e47853b633ed4e198794488ed Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 28 Dec 2025 22:08:27 -1000 Subject: [PATCH] Update esphome/components/esphome/ota/ota_esphome.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/esphome/ota/ota_esphome.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/esphome/ota/ota_esphome.cpp b/esphome/components/esphome/ota/ota_esphome.cpp index 7e0e8745a3..98569c96cb 100644 --- a/esphome/components/esphome/ota/ota_esphome.cpp +++ b/esphome/components/esphome/ota/ota_esphome.cpp @@ -736,7 +736,7 @@ bool ESPHomeOTAComponent::handle_auth_read_() { ESP_LOGV(TAG, "Auth: CNonce is %.*s", hex_size, cnonce); #if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE - char computed_hash[65]; // SHA256 hex (64) + null + char computed_hash[65]; // Buffer for hex-encoded hash (max expected length + null terminator) hasher->get_hex(computed_hash); ESP_LOGV(TAG, "Auth: Result is %.*s", hex_size, computed_hash); #endif