Wireshark-bugs: [Wireshark-bugs] [Bug 338] WTLS dissector display bug: session ids > 4 bytes not

Date: Sat, 2 Sep 2006 08:31:59 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=338





------- Comment #5 from jonas.berlin@xxxxxxxxxxxx  2006-09-02 08:31 GMT -------
Hi! I checked your change at

http://anonsvn.wireshark.org/viewvc/viewvc.cgi/trunk/epan/dissectors/packet-wtls.c?r1=18196&r2=19115&pathrev=19115

and it looks great! Actually the spec says 8 is maximum size for session ids so
if the length field says more than 8 then it's either a bug or a future version
of WTLS :) If it had supported more than 8, I surely would have used that in my
implementation :)

One question: I guess tvb_get_uint8() and tvb_bytes_to_str() ensure that there
are still enough bytes left in the packet?


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.