]> The Tcpdump Group git mirrors - tcpdump/commit
Ethernet: Add a bounds check
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 6 May 2021 11:39:10 +0000 (13:39 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 7 May 2021 07:54:02 +0000 (09:54 +0200)
commit78f618d2c110489f95354198d4e9054214b1b880
tree0c2f0eba0ffa5b4ee33eced07c4f3542a4669106
parent59f6b9c3a84f90511016ddc7f285cfec1e77fa11
Ethernet: Add a bounds check

Avoid to have p (current pointer on packet data) > ndo->ndo_snapend
in isoclns_print() in some cases.

Moreover:
Add a "FIXME" comment.

(cherry picked from commit 7b7b84716e604abd8bd92cee75e6385cab6ce3dc)
print-ether.c