the-tcpdump-group / tcpdump

the TCPdump network dissector
https://www.tcpdump.org/
Other
2.7k stars 842 forks source link

MSDP: Modernize packet parsing #1217

Closed fxlb closed 3 weeks ago

fxlb commented 3 weeks ago

Use ND_ICHECK_U() in length/type tests and add an 'invalid' label. Remove the 'trunc' label. Move '#define ND_LONGJMP_FROM_TCHECK' just before '#include "netdissect.h"' as for all other uses.