forked from osmocom/wireshark
Try to eliminate VS Code Analysis warning: warning C6385: Invalid data: accessing 'hf_packetbb_addr_value', the readable size is '16' bytes, but '4004' bytes might be read
svn path=/trunk/; revision=47204
This commit is contained in:
parent
d85feecdd8
commit
604fd1f1c5
|
@ -474,10 +474,12 @@ static int dissect_pbb_addressblock(tvbuff_t *tvb, proto_tree *tree, guint offse
|
|||
addrValue_item = proto_tree_add_ether(addr_tree, hf_packetbb_addr_value[addressType],
|
||||
tvb, mid_index, block_index + block_length - mid_index, addr);
|
||||
break;
|
||||
default:
|
||||
case 3:
|
||||
addrValue_item = proto_tree_add_bytes(addr_tree, hf_packetbb_addr_value[addressType],
|
||||
tvb, mid_index, block_index + block_length - mid_index, addr);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
addrValue_tree = proto_item_add_subtree(addrValue_item, ett_packetbb_addr_value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue