aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-skinny.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-skinny.c.in')
-rw-r--r--epan/dissectors/packet-skinny.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-skinny.c.in b/epan/dissectors/packet-skinny.c.in
index c0779d8638..162f2f0c6e 100644
--- a/epan/dissectors/packet-skinny.c.in
+++ b/epan/dissectors/packet-skinny.c.in
@@ -217,7 +217,7 @@ dissect_skinny_xml(ptvcursor_t *cursor, int hfindex, packet_info *pinfo, guint32
item = proto_tree_add_item(tree, hf_skinny_xmlData, tvb, offset, length, ENC_ASCII|ENC_NA);
subtree = proto_item_add_subtree(item, 0);
- next_tvb = tvb_new_subset(tvb, offset, length, -1);
+ next_tvb = tvb_new_subset_length_caplen(tvb, offset, length, -1);
if (xml_handle != NULL) {
call_dissector(xml_handle, next_tvb, pinfo, subtree);
}