]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-llc.c
CVE-2017-12897/ISO CLNS: Use ND_TTEST() for the bounds checks in isoclns_print().
[tcpdump] / print-llc.c
index 6bdf599846ed6750f165811fcff122e83127d828..be8886abdd4a11b48fe2eb0cb410c89484fccd6a 100644 (file)
@@ -324,7 +324,7 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen,
 #endif
        if (ssap == LLCSAP_ISONS && dsap == LLCSAP_ISONS
            && control == LLC_UI) {
-               isoclns_print(ndo, p, length, caplen);
+               isoclns_print(ndo, p, length);
                return (hdrlen);
        }