Re:An embeddable dumb heartbeat daemon in 260 bytes of RAM a...
by tptacek on Wednesday October 25, 2017 @11:22PM
(#15556124)
It looks to me like this code will read off the end of short packets; the actual library interface (dumpulse_process_packet) probably needs to take a length, and sanity-check it.
Re:An embeddable dumb heartbeat daemon in 260 bytes of RAM a...
by PinguTS on Thursday October 26, 2017 @05:40AM
(#15557507)
Yes, there seems no length checking at all. All is assumed. Even on CAN you can't expect to receive only 8 bytes, because with a CAN FD controller it can be now 64 bytes.
I only looked for a moment and might be wrong.