]> 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]>
Tue, 18 Nov 2014 20:30:31 +0000 (12:30 -0800)
commit74e2f75d1f24f98936ac4935d6a45c4762fe288f
treed0e7483f8902ef1d49d7ba0580346f4cd55d2e24
parent79f375dbf422654656a7ab1e0ff508cb3e9955b3
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