aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/ros/ros-inv.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/ros/ros-inv.cnf')
-rw-r--r--epan/dissectors/asn1/ros/ros-inv.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/ros/ros-inv.cnf b/epan/dissectors/asn1/ros/ros-inv.cnf
index acbcaff2d2..8fcea47d7a 100644
--- a/epan/dissectors/asn1/ros/ros-inv.cnf
+++ b/epan/dissectors/asn1/ros/ros-inv.cnf
@@ -36,7 +36,7 @@
g_strlcat(actx->rose_ctx->fillin_ptr, descr, actx->rose_ctx->fillin_buf_size);
if (!arg_next_tvb) { /* empty argument */
- arg_next_tvb = tvb_new_subset(tvb, (actx->encoding==ASN1_ENC_PER)?offset>>3:offset, 0, 0);
+ arg_next_tvb = tvb_new_subset_length_caplen(tvb, (actx->encoding==ASN1_ENC_PER)?offset>>3:offset, 0, 0);
}
call_dissector_with_data((arg_handle)?arg_handle:data_handle, arg_next_tvb, actx->pinfo, tree, actx->rose_ctx);