fix multi-byte entries in Operator Profile capability loops
(this problem showed up in an APDU with two 16bit application ids) Change-Id: Ie4842181b19db984a693534144fac5e91b217b34 Reviewed-on: https://code.wireshark.org/review/3358 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
parent
fde0dbe660
commit
b5f4cb5c33
|
@ -1765,7 +1765,7 @@ dissect_opp_cap_loop(guint8 cap_loop_len, const gchar *title,
|
|||
if (tree && cap_loop_len>0) {
|
||||
loop_tree = proto_tree_add_subtree(tree, tvb, offset, cap_loop_len, ett_dvbci_opp_cap_loop, NULL, title);
|
||||
}
|
||||
for (i=0; i<cap_loop_len; i+=item_len) {
|
||||
for (i=0; i<item_len*cap_loop_len; i+=item_len) {
|
||||
proto_tree_add_item(loop_tree, item_hf,
|
||||
tvb, offset+i, item_len, ENC_BIG_ENDIAN);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue