]> The Tcpdump Group git mirrors - tcpdump/commit
Do more bounds checking.
authorGuy Harris <[email protected]>
Wed, 16 Dec 2015 03:12:00 +0000 (19:12 -0800)
committerGuy Harris <[email protected]>
Wed, 16 Dec 2015 03:12:00 +0000 (19:12 -0800)
commit354638fa02452bf7aa2a9a28160227bc5f18151f
treed0e02ca7aa1ae32c801913ee1191ba61ed80810b
parent67d45a4b057134735c2cf3dd64c1f8d8bc522a9e
Do more bounds checking.

Step through the SCTP packet with the bp variable, and keep a packet
data remaining variable and use that for bounds checking.  For each
chunk, keep a chunk data remaining variable and use that as well.  If
there's not enough room for a full item, that gets reported as an error.

While we're at it, fix an error printout.
print-sctp.c