Skip to content

Commit

Permalink
DroneCAN: update DSDL compiler
Browse files Browse the repository at this point in the history
Fixes the following issues:

 * Compound array elements subject to tail array optimization could be
decoded incorrectly, causing a decode failure.

 * Invalid array lengths could be sent over the wire if a
longer-than-max array was encoded (though only the max number of
elements was sent).

 * Lengths were not validated when decoding arrays of compound elements
using TAO, causing memory corruption if an invalid length was received.

 * Union tags were not validated, causing undefined behavior if an
invalid tag was received.
  • Loading branch information
tpwrules authored and tridge committed Jul 23, 2024
1 parent ce0ae33 commit b6adb4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/DroneCAN/dronecan_dsdlc

0 comments on commit b6adb4c

Please sign in to comment.