Files
OpenMQTT-Gateway/main
pwshandClaude Opus 5.5 3986d9d1f7 [LORA] Fix buffer overflow when converting binary packets to hex (#2402)
TheengsUtils::_rawToHex() formats each byte with "%02X\r", so the last
sprintf writes two bytes past the 2 * size hex digits (the '\r' and the
terminating null). LORAtoX() sized its buffer 2 * packetSize + 1, one
byte short, overflowing the stack for every binary LoRa packet.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 06:51:09 -05:00
..