]> The Tcpdump Group git mirrors - tcpdump/commit
Use ND_TCHECK() to do bounds checking.
authorGuy Harris <[email protected]>
Mon, 10 Nov 2014 07:24:53 +0000 (23:24 -0800)
committerGuy Harris <[email protected]>
Mon, 10 Nov 2014 07:24:53 +0000 (23:24 -0800)
commit9ed7ddb48fd557dc993e73f22a50dda6cedf4df7
treec1cc686ee0bce769d50fed064935f27e972e0634
parentfa01fcdc6c8374187a8d9963a3cc443e9feb902d
Use ND_TCHECK() to do bounds checking.

While we're at it, just use the record count to when iterating over
records; the ND_TCHECK()s will make sure we don't run past the end of
the captured data.

Also get rid of an unused argument to cnfp_print().
netdissect.h
print-cnfp.c
print-udp.c