mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
The TRACE handler reads 9 bytes (trace_tag, auth_code, flags) from the payload before any length validation. A short TRACE packet causes reads of stale buffer data and an underflow in the remaining-length calculation (uint8_t len = payload_len - 9 wraps to ~247). Add payload_len >= 9 to the existing guard condition so undersized TRACE packets are silently dropped.pull/1663/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue