mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
The `recv_pkt_region` is set when processing a flood packet in `filterRecvFloodPacket` but direct/non-flood packets would never pass through that function, so the pointer was not cleared for them. `sendFloodReply` would then later use it blindly, which meant that the response would either inherit the region from the last flood packet, or refer to a non-initialised pointer if no region floods had been received yet.pull/2874/head
4 changed files with 8 additions and 10 deletions
Loading…
Reference in new issue