X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a276494fb7b8c8181cfdfca5bcf91a6c576885ce..16cb0fa24932616cfe9e90c46dfbd05cfaccdcaa:/print-sflow.c diff --git a/print-sflow.c b/print-sflow.c index 71ca2663..2cd00c0a 100644 --- a/print-sflow.c +++ b/print-sflow.c @@ -891,6 +891,7 @@ sflow_print(netdissect_options *ndo, len); /* skip Common header */ + ND_LCHECK_ZU(tlen, sizeof(struct sflow_v6_datagram_t)); tptr += sizeof(struct sflow_v6_datagram_t); tlen -= sizeof(struct sflow_v6_datagram_t); }