commit | 4a696ee49a675519e7aad00f5290db784480ed56 | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Tue Mar 26 02:35:14 2013 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Tue Mar 26 02:35:14 2013 -0700 |
tree | 84620844d5f1102b333e9673e52b72d09109a4aa | |
parent | 949a22064d3534eddeb8aa2b9c36a50e45fe16fa [diff] |
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.