Do more checking of the TLV length. Yes, the length can be zero or
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 13 Aug 2011 22:33:14 +0000 (22:33 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 13 Aug 2011 22:33:14 +0000 (22:33 +0000)
commitc85a7026fba2d2bdc03e269d912448f316609b35
tree4b4e5055ddaa7d7a0c501697673b6f320462d33e
parent5588ee22fb95310a6ac053f776e702aa587c6acf
Do more checking of the TLV length.  Yes, the length can be zero or
negative in a malformed packet.  Should fix bug 6238.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38521 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-coap.c