]> The Tcpdump Group git mirrors - tcpdump/commit
macsec: further cleanups.
authorGuy Harris <[email protected]>
Thu, 28 May 2020 06:22:58 +0000 (23:22 -0700)
committerGuy Harris <[email protected]>
Thu, 28 May 2020 06:22:58 +0000 (23:22 -0700)
commitfc1f0e7e582c75239590da976b91d0568c6f9d57
tree711a70dcbae5f0f8a756a339e4b480c4b42537ff
parentd4c025123311850573425b317eca79b52a64ac0f
macsec: further cleanups.

Add checks to make sure the on-the-wire length isn't too small.  (Not
all versions of libpcap require that the on-the-wire length be greater
than or equal to the captured length.)

Make sure both lengths are large enough before subtracting the ICV
length.
print-macsec.c