Files
esphome/script/api_protobuf
J. Nick Koston 23fd34daf3 [api] Fix heap-buffer-overflow in protobuf message dump for StringRef
StringRef fields decoded from protobuf point into the receive buffer
and are NOT null-terminated. DumpBuffer::append(const char*) calls
strlen() which reads past the buffer. Use the (const char*, size_t)
overload instead.

Found by AddressSanitizer in #14718.
2026-03-11 20:48:17 -10:00
..