]> The Tcpdump Group git mirrors - tcpdump/commit
EAP: add some more length checks.
authorGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:50:02 +0000 (18:50 -0800)
committerGuy Harris <[email protected]>
Sun, 14 Nov 2021 02:50:02 +0000 (18:50 -0800)
commit50dfa7ecebfef0f954f3ac2e6bbbf84ab468f848
treee8fd137ee0caa9ad02444a1468ed15566b19d981
parentcac8a3cd041622b06f5a24a6e1524b92a7f2998a
EAP: add some more length checks.

Check to make sure we don't go past the length value in the header.

Note that the string in an Identity message is optional (so we just
don't bother printing it if it's zero-length), but the string in a
notification message isn't (so report an error if it's zero-length).
print-eap.c