]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix a bound check
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 20 Nov 2017 13:18:10 +0000 (14:18 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 20 Nov 2017 13:18:10 +0000 (14:18 +0100)
print-fr.c

index efb2d0200ac5ba1d319f7492ada0a91f7c784617..ce3513791e4e8599029bb32de04ae07e0b270ba5 100644 (file)
@@ -907,7 +907,7 @@ q933_print(netdissect_options *ndo,
        ND_PRINT((ndo, "%s, codeset %u", is_ansi ? "ANSI" : "CCITT", codeset));
 
        if (call_ref_length != 0) {
-               ND_TCHECK(EXTRACT_8BITS(p));
+               ND_TCHECK_8BITS(p);
                if (call_ref_length > 1 || EXTRACT_8BITS(p) != 0) {
                        /*
                         * Not a dummy call reference.