summaryrefslogtreecommitdiff
path: root/asn1/cdt
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/cdt')
-rw-r--r--asn1/cdt/cdt.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/cdt/cdt.cnf b/asn1/cdt/cdt.cnf
index e2bc316770..38fd6e29b0 100644
--- a/asn1/cdt/cdt.cnf
+++ b/asn1/cdt/cdt.cnf
@@ -76,7 +76,7 @@ CompressedData B "1.3.26.0.4406.0.4.2" "cdt"
return offset;
}
- next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_length (compr_tvb));
+ next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_reported_length (compr_tvb));
if (next_tvb == NULL) {
proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_uncompress_content,