]> The Tcpdump Group git mirrors - tcpdump/commit
print-olsr: Don't trust the package payload.
authorFlorian Forster <[email protected]>
Sat, 16 May 2009 11:01:52 +0000 (13:01 +0200)
committerGuy Harris <[email protected]>
Thu, 21 May 2009 17:09:45 +0000 (10:09 -0700)
commitefb465c5a81245351bb374184b9217c06b66cc44
treecd76bed4412d7161042e712d39044ebda69b7ed5
parentdc4380a690c0c4532f59cdb95afdb750702038b3
print-olsr: Don't trust the package payload.

Especially not to do pointer arithmetic.

This is a real problem even without malicious people around if you use
OLSR via IPv6, because the message IDs didn't change but addresses are
now longer than four bytes.

Signed-off-by: Florian Forster <[email protected]>
print-olsr.c