]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RADIUS: Remove an invalid bounds check now useless
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Mar 2019 12:07:32 +0000 (13:07 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Mar 2019 12:10:50 +0000 (13:10 +0100)
Found by Bill Fenner with OSS-Fuzz.

print-radius.c

index f2e6bab7eb1ecc389f9ca3480b1912b94103987e..6465d7b71077bee82d64efa2fddbadd53ac444aa 100644 (file)
@@ -1041,7 +1041,6 @@ print_attr_vector64(netdissect_options *ndo,
    }
 
    ND_PRINT("[");
-   ND_TCHECK_8(data[0]);
 
    data_value = GET_BE_U_8(data);
    /* Print the 64-bit field in a format similar to bittok2str(), less