]> The Tcpdump Group git mirrors - tcpdump/commit
Do more bounds checking and length checking.
authorGuy Harris <[email protected]>
Wed, 12 Nov 2014 00:49:39 +0000 (16:49 -0800)
committerGuy Harris <[email protected]>
Wed, 12 Nov 2014 00:49:39 +0000 (16:49 -0800)
commit4038f83ebf654804829b258dde5e0a508c1c2003
tree8b7010d4986c60736cc7cbdf203909437d122575
parent9255c9b05b0a04b8d89739b3efcb9f393a617fe9
Do more bounds checking and length checking.

Don't run past the end of the captured data, and don't run past the end
of the packet (i.e., don't make the length variable go negative).

Also, stop dissecting if the message length isn't valid.
print-olsr.c