]> The Tcpdump Group git mirrors - tcpdump/commit
Fix the handling of unknown tagged parameters in management frames.
authorGuy Harris <[email protected]>
Tue, 5 Apr 2011 16:53:57 +0000 (09:53 -0700)
committerGuy Harris <[email protected]>
Tue, 5 Apr 2011 16:53:57 +0000 (09:53 -0700)
commit5b665ba92ff69d8b51bbd634187dd3d6fdb48fe4
tree088d73eec3e4f6d07e22cae57ccd9d75e2498b82
parentdee11b5b1040a03dbd6e73f34dc9a4d1fff94f02
Fix the handling of unknown tagged parameters in management frames.

Fetch the element length early in the process, rather than fetching it
each time we need it - even after we've advanced the pointer we are
using to fetch it (doing the latter means we fetch the wrong value when
we subtract it from the remaining length).
print-802_11.c