]> The Tcpdump Group git mirrors - tcpdump/commit
Check against the packet length first.
authorGuy Harris <[email protected]>
Sun, 5 Jul 2015 02:30:24 +0000 (19:30 -0700)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 18 Jan 2017 08:16:37 +0000 (09:16 +0100)
commitb13ef341f730eb4ffe51c8785d98324d9f72fdee
treea33ffb55c337a838279012b4cfb3e5542f97338e
parent406b0e3e9293a545c831ee9ed1558c3a5f5bd60d
Check against the packet length first.

That way, if the packet is inherently too short, rather than just having
been cut short by the snapshot length, we'll report that properly.
print-udp.c