mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
23fd34daf3
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.