]> The Tcpdump Group git mirrors - tcpdump/commit
Fix handling of V3 and V4 BPDUs.
authorGuy Harris <[email protected]>
Tue, 26 Mar 2013 09:35:14 +0000 (02:35 -0700)
committerGuy Harris <[email protected]>
Tue, 26 Mar 2013 09:35:46 +0000 (02:35 -0700)
commit1d72d063120aa1a8333dcd27d6783e42dcf49206
tree97f098055f55556afed7cadfdfbfddeef83eec40
parent1e0c313d5051010f9e84329ced18fb5e91f5f5a6
Fix handling of V3 and V4 BPDUs.

Make the offsets and lengths 32-bit, so that they don't overflow.

Pull the handling of V4 fields into its own routine.  Call it only if
the packet's been identified as a V4 packet and the length is sane; call
the routine to handle V3 fields before we do any V4 work.
print-stp.c