aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-uftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-uftp.c')
-rw-r--r--epan/dissectors/packet-uftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-uftp.c b/epan/dissectors/packet-uftp.c
index 91b629f70c..b20bd93846 100644
--- a/epan/dissectors/packet-uftp.c
+++ b/epan/dissectors/packet-uftp.c
@@ -1438,7 +1438,7 @@ static int dissect_uftp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
proto_tree_add_item(uftp_tree, hf_uftp_destaddr, tvb, offset, 4, ENC_BIG_ENDIAN);
offset += 4;
- next_tvb = tvb_new_subset(tvb, offset, -1, blsize);
+ next_tvb = tvb_new_subset_length_caplen(tvb, offset, -1, blsize);
switch (mes_type) {
case ANNOUNCE: