mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
RX: Remove 1 now redundant ND_TCHECK_LEN(e, sizeof(uint64_t)) call
It is redundant because it is identical to ND_TCHECK_8(e), followed by a GET_BE_U_8(e), same e, which do the bounds check.
This commit is contained in:
parent
3435ef98e5
commit
1fa77a87dc
@ -790,7 +790,6 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh,
|
||||
}
|
||||
|
||||
#define UINT64OUT() { uint64_t _i; \
|
||||
ND_TCHECK_LEN(bp, sizeof(uint64_t)); \
|
||||
_i = GET_BE_U_8(bp); \
|
||||
bp += sizeof(uint64_t); \
|
||||
ND_PRINT(" %" PRIu64, _i); \
|
||||
|
Loading…
Reference in New Issue
Block a user