]> The Tcpdump Group git mirrors - tcpdump/commit
Add additional bounds checks, ND_TTESTize existing ones.
authorGuy Harris <[email protected]>
Sun, 19 Oct 2014 21:45:20 +0000 (14:45 -0700)
committerGuy Harris <[email protected]>
Sun, 19 Oct 2014 21:45:20 +0000 (14:45 -0700)
commit3a3ec26085461998074b827b112d38e8f3246a86
treec8cb95350ac59070efd3e7b3924b1825431b098c
parentbf93670b6c3a5f8527c06f8981f525ecb384f443
Add additional bounds checks, ND_TTESTize existing ones.

Use ND_TTEST() and ND_TTEST2() for bounds checks.

Pass a pointer to the struct pkt_top to wb_dops, and calculate the
address of the first struct dophdr there.  Check each struct dophdr
before printing it.  Hopefully this will quiet a Coverity complaint.
print-wb.c