diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-09-30 10:48:04 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-09-30 13:20:53 +0200 |
commit | 3435ef98e5c1552d9f1f184188260092d1ca7774 (patch) | |
tree | 3ccfc99a873ec7a41fe013cac4d7136745e1efac /print-rx.c | |
parent | ac602ba5565eb851b402a29f76bf9fd3d8753671 (diff) | |
download | tcpdump-3435ef98e5c1552d9f1f184188260092d1ca7774.tar.gz |
RX: Remove 1 now redundant ND_TCHECK_LEN(e, sizeof(uint32_t)) call
it is redundant because it is identical to ND_TCHECK_4(e), followed
by a GET_BE_U_4(e), same e, which do the bounds check.
Diffstat (limited to 'print-rx.c')
-rw-r--r-- | print-rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -766,7 +766,6 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh, } #define STROUT(MAX) { uint32_t _i; \ - ND_TCHECK_LEN(bp, sizeof(uint32_t)); \ _i = GET_BE_U_4(bp); \ if (_i > (MAX)) \ goto trunc; \ |