mirror of
https://github.com/esphome/esphome.git
synced 2026-08-24 15:16:20 +00:00
806246b8583b357ed78fa04734188fb219334fb1
- on_recv/on_send read the recv/send callback pointer once into a local; a concurrent esp_now_unregister/deinit on the main loop can no longer null it between the guard and the call (a runtime-reachable null-deref via disable()). - on_resp fails a truncated RESP with ESP_ERR_INVALID_RESPONSE instead of returning the co-processor status with a zeroed payload, and logs the oversized-ret_len clamp (a wire-format-drift signal). - register_recv_cb/register_send_cb confirm ensure_setup() succeeded before arming the callback, so a failed setup leaves the pointer null.
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
577 MiB
Languages
C++
58.3%
Python
41.1%
C
0.3%
JavaScript
0.2%
