]> The Tcpdump Group git mirrors - tcpdump/commit
cdp: require that the Address TLV have at least 4 bytes of data.
authorGuy Harris <[email protected]>
Tue, 11 Apr 2023 06:36:21 +0000 (23:36 -0700)
committerGuy Harris <[email protected]>
Tue, 11 Apr 2023 06:36:21 +0000 (23:36 -0700)
commitcebc5988bdde08a21714f66479bf9a6a5150d2da
tree5e2db5ccfc833f674f55ca1d2eadeea21dad69aa
parentc845af56663580bd38ace3dedfd83f0a9e7cbcb4
cdp: require that the Address TLV have at least 4 bytes of data.

Specify a minimum length of 4 in the cdptlvs table, rather than having
its printer do the length check itself.
print-cdp.c