OpenCyphal / libudpard

A compact implementation of the Cyphal/UDP protocol in C for high-integrity real-time embedded systems
MIT License
10 stars 8 forks source link

UDP-ard does not check the incoming header CRC16-CCITT-FALSE before using the header fields. #24

Closed emrainey closed 10 months ago

emrainey commented 1 year ago

libudp-ard does not seem to check the incoming frame's CRC16 (BE) in the header before utilizing all the fields.

rxTryParseFrame would be the best place to check this.