aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cdt/cdt.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/cdt/cdt.cnf')
-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 d26d8d3b31..623cff8c87 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_captured_length (compr_tvb));
if (next_tvb == NULL) {
proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_uncompress_content,