The Readimplementation for UdpRead needs buffering, as the user may (and will) provide a buffer smaller than the datagram when parsing the MAVLink messages, which causes data loss.
This was a regression introduced by commit 7d6a1c44e23b8a2f3df29d176df4bc8c1584697e.
The
Read
implementation forUdpRead
needs buffering, as the user may (and will) provide a buffer smaller than the datagram when parsing the MAVLink messages, which causes data loss. This was a regression introduced by commit 7d6a1c44e23b8a2f3df29d176df4bc8c1584697e.