mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
02f9a78a8633f7b1cdd0f391035802a1771340cb
- 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
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
