]> The Tcpdump Group git mirrors - tcpdump/commit
IEEE 802.15.4: Add some bounds checks
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 11 May 2021 10:21:28 +0000 (12:21 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 12 May 2021 06:54:58 +0000 (08:54 +0200)
commit346ea98e51a8d50acbbe010f4b39b098d34caa2f
tree2721ceb7b95409fd4e0e311dd6ca6a3081723478
parentf8491f77ac4d22b32cdf9d89540112c2bb037ffb
IEEE 802.15.4: Add some bounds checks

This avoids to have cp (current pointer on packet data) > ndo->ndo_snapend
in hex_and_ascii_print(), via ndo_default_print(), via ND_DEFAULTPRINT(),
in some cases.
print-802_15_4.c