forked from osmocom/wireshark
From Stephen Fisher
Attached is a patch to fix bug #1170: "Wireshark interpretation of WBXML does not comply with Spec." This has been verified with the sample capture the user provided. svn path=/trunk/; revision=19681
This commit is contained in:
parent
5a13d13021
commit
09ef3b6142
|
@ -5676,7 +5676,7 @@ parse_wbxml_tag_defined (proto_tree *tree, tvbuff_t *tvb, guint32 offset,
|
|||
off, str_tbl, *level, codepage_attr, map);
|
||||
/* Check that there is still room in packet */
|
||||
off += len;
|
||||
if (off >= tvb_len) {
|
||||
if (off > tvb_len) {
|
||||
DebugLog(("STAG: level = %u, ThrowException: len = %u (short frame)\n", *level, off - offset));
|
||||
/*
|
||||
* TODO - Do we need to free g_malloc()ed memory?
|
||||
|
|
Loading…
Reference in New Issue