mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 12:53:26 +00:00
bk72xx-crash-handler
- 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.
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
393 MiB
Languages
C++
60.7%
Python
38.9%
C
0.3%
