]> 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:14 +0000 (02:35 -0700)
commit4a696ee49a675519e7aad00f5290db784480ed56
tree84620844d5f1102b333e9673e52b72d09109a4aa
parent949a22064d3534eddeb8aa2b9c36a50e45fe16fa
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