]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-fr.c
CVE-2017-12897/ISO CLNS: Use ND_TTEST() for the bounds checks in isoclns_print().
[tcpdump] / print-fr.c
index dad8173c7e23bda5b22852b718eb3761b6db5362..f1a8b21e5051e6c69eabd1709dd0dae162fea295 100644 (file)
@@ -329,7 +329,7 @@ fr_print(netdissect_options *ndo,
        case NLPID_CLNP:
        case NLPID_ESIS:
        case NLPID_ISIS:
-               isoclns_print(ndo, p - 1, length + 1, ndo->ndo_snapend - p + 1); /* OSI printers need the NLPID field */
+               isoclns_print(ndo, p - 1, length + 1); /* OSI printers need the NLPID field */
                break;
 
        case NLPID_SNAP: