https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5863
Chris Maynard <christopher.maynard@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6387|review_for_checkin? |review_for_checkin-
Flag| |
--- Comment #7 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-05-26 17:51:42 PDT ---
(From update of attachment 6387)
When performing heuristics, the tvb_get*() functions called in
looks_like_dtls() could throw an error if there's not enough data available in
the tvb, but this packet might not even be for the dtls dissector, so care
should be taken to first ensure that there are enough bytes to get before
actually getting them.
Also, tvb should remain an opaque data structure; instead of using tvb->length,
use tvb_length(tvb).
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.