]> The Tcpdump Group git mirrors - tcpdump/commit
Add missing bounds checking to the DVMRP and PIM print routines.
authorguy <guy>
Wed, 19 Nov 2003 09:42:04 +0000 (09:42 +0000)
committerguy <guy>
Wed, 19 Nov 2003 09:42:04 +0000 (09:42 +0000)
commit259cb9ad02e8624353be599a8ec6181d20a34f3d
tree4a61194538fdb954c65acadb72673405d8396635
parentd511b994b9931460771dc56c70b791204178d157
Add missing bounds checking to the DVMRP and PIM print routines.

Instead of checking that there are 8 bytes available at the beginning of
an IGMP packet - which there might not be, e.g. with some DVMRP packets
- do the checks as necessary before fetching values.
print-dvmrp.c
print-igmp.c
print-pim.c