GVCP: Fix an infinite loop.
Remove an "if(tree)" test in order to ensure that our offset always advances. Bug: 16029 Change-Id: I5bb38f2eccfbf3c44a06682a17aafcba9d8fa0c6 Reviewed-on: https://code.wireshark.org/review/37611 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
5258ceadb3
commit
d70bd4489f
|
@ -2014,8 +2014,6 @@ static void dissect_eventdata_cmd(proto_tree *gvcp_telegram_tree, tvbuff_t *tvb,
|
|||
/* fill in Info column in Wireshark GUI */
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, "[ID: 0x%04X]", eventid);
|
||||
|
||||
if (gvcp_telegram_tree != NULL)
|
||||
{
|
||||
/* If extended ID, then we have event_size here (2.1) */
|
||||
if (extendedblockids)
|
||||
{
|
||||
|
@ -2082,7 +2080,6 @@ static void dissect_eventdata_cmd(proto_tree *gvcp_telegram_tree, tvbuff_t *tvb,
|
|||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue