diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-05-01 13:52:15 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-05-01 13:52:15 +0000 |
commit | 17fa218ed5b6102fb47752b53aec8abd14303b4e (patch) | |
tree | 1b9c8f9cc9f70102ebc4ff71b125c0a2712869c7 /epan/dissectors/packet-tcap.c | |
parent | 053504ca5cf59546ae8b7cf35bb8122671da9966 (diff) |
Make sure we pass a positive length to proto_item_set_len().
svn path=/trunk/; revision=14254
Diffstat (limited to 'epan/dissectors/packet-tcap.c')
-rw-r--r-- | epan/dissectors/packet-tcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c index 065971ebce..bb04eaecc8 100644 --- a/epan/dissectors/packet-tcap.c +++ b/epan/dissectors/packet-tcap.c @@ -2041,6 +2041,7 @@ dissect_tcap_dialog_portion(ASN1_SCK *asn1, proto_tree *tcap_tree, proto_item *t if (portion_def_len) { + tvb_ensure_bytes_exist(tcap_tree, saved_offset, len); proto_item_set_len(dlg_item, len); } |