forked from osmocom/wireshark
Add a tvb_ensure_bytes_exist(). I'm not sure if this is the correct way
to do this, but it fixes bug 38. svn path=/trunk/; revision=14094
This commit is contained in:
parent
6b6dde3aa8
commit
d96061b92d
|
@ -2382,6 +2382,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
|
||||
/* now we know, that RPC was shorter */
|
||||
if (rpc_item) {
|
||||
tvb_ensure_bytes_exist(tvb, offset, 0);
|
||||
proto_item_set_end(rpc_item, tvb, offset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue