J. Nick Koston 02f9a78a86 [bk72xx] Address Copilot review: fix UB in scan_backtrace + snprintf truncation
- scan_backtrace: do bounds math in uintptr_t space and only cast to
  pointer at dereference. Comparing pointers from unrelated objects
  (the SP value vs the linker RAM-end symbol) is technically UB in C++
  even though it works on flat-address embedded targets.
- crash_handler_log: clamp the snprintf return value before using it
  as an offset. snprintf returns < 0 on error or >= size on truncation,
  and feeding that straight back into pointer arithmetic is UB.
2026-04-30 13:15:02 -05:00
S
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme Multiple Licenses 689 MiB
Languages
C++ 61.9%
Python 37.5%
C 0.3%
JavaScript 0.2%