diff options
Diffstat (limited to 'epan/dissectors/packet-x509if.c')
-rw-r--r-- | epan/dissectors/packet-x509if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-x509if.c b/epan/dissectors/packet-x509if.c index fe6cae6de4..0c65bd829e 100644 --- a/epan/dissectors/packet-x509if.c +++ b/epan/dissectors/packet-x509if.c @@ -787,7 +787,7 @@ dissect_x509if_T_atadv_value(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o if(out_tvb) { /* it was a string - format it */ - value = tvb_format_text(out_tvb, 0, tvb_length(out_tvb)); + value = tvb_format_text(out_tvb, 0, tvb_captured_length(out_tvb)); if(last_rdn) { g_strlcat(last_rdn, value, MAX_RDN_STR_LEN); |