mirror of
https://github.com/esphome/esphome.git
synced 2026-05-10 14:09:14 +08: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
689 MiB
Languages
C++
61.9%
Python
37.5%
C
0.3%
JavaScript
0.2%
