]> The Tcpdump Group git mirrors - tcpdump/commit
EAP: label length mismatch as a possible EAP fragment.
authorGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:44:57 +0000 (18:44 -0800)
committerGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:44:57 +0000 (18:44 -0800)
commitcac8a3cd041622b06f5a24a6e1524b92a7f2998a
tree86682b1bd3f32039ceff4ba33ada42f48a2a9b60
parent6569fb794592b16cc7c596a74444be77429f617a
EAP: label length mismatch as a possible EAP fragment.

In some cases, EAP fragmentation/reassembly is done at a layer above
EAP, e.g. when EAP messages are contained within a RADIUS message and
are broken up into multiple TLVs in the message.  In those cases, the
length handed to eap_print() will be different from the length in the
first fragment's header, and the remaining fragments won't *have* a
header, so the "length" will be garbage and thus unlikely to be equal to
the length handed to us.
print-eap.c