http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48913
User: guy
Date: 2013/04/18 12:07 PM
Log:
Let proto_tree_add_item() do the length checking for string lengths, so
we thrown an exception if the lengths are too long.
For UCS-2/UTF-16 strings, do an extra length check to avoid overflows,
but throw ReportedBoundsError if the check fails, so we report them the
same way we report other too-large length errors.
Just use proto_tree_add_item() to put UCS-2/UTF-16 strings (assumed to
be UTF-16, not UCS-2; is that correct?) into the protocol tree.
Directory: /trunk/epan/dissectors/
Changes Path Action
+51 -64 packet-ms-mms.c Modified