]> The Tcpdump Group git mirrors - tcpdump/commit
SLL/SLL2: Use ND_TCHECK_LEN() for bounds checks
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 17 Nov 2020 20:14:51 +0000 (21:14 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 17 Nov 2020 20:14:51 +0000 (21:14 +0100)
commitab5a18ab1312d37e1aceded9960a97a23028235a
tree5d9a64953cc3cb0b750868407907c8d291db107a
parentac31fbf801b950a0f0b16509f3b1b039833983e4
SLL/SLL2: Use ND_TCHECK_LEN() for bounds checks

Moreover:
Define ND_LONGJMP_FROM_TCHECK.
Remove 2 ndo_ll_hdr_len increments in truncation cases.
Remove 2 comments: "can't happen" is wrong (fuzzing, etc.)
print-sll.c