Skip to content

Route json crash fix#4

Open
TimoWielink wants to merge 2 commits into
faradaym:signal-healthfrom
TimoWielink:route-json-crash-fix
Open

Route json crash fix#4
TimoWielink wants to merge 2 commits into
faradaym:signal-healthfrom
TimoWielink:route-json-crash-fix

Conversation

@TimoWielink

Copy link
Copy Markdown

This fixes a crash in MamaDuck route-packet handling on ESP32. RouteJSON was converting ArduinoJson::JsonDocument to std::string via json.asstd::string(), which shows up in the crash backtrace and appears to corrupt heap state during routed RX processing.
The change switches those conversions to explicit serializeJson(...), which is the safer/standard way to materialize JSON text on this target.

faradaym and others added 2 commits June 11, 2026 12:40
Signed-off-by: faradaym <rcheyenne.truss@gmail.com>
Signed-off-by: TimoWielink <timowielink@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants