aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/p22
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-07-23 15:21:02 -0400
committerEvan Huus <eapache@gmail.com>2021-07-26 14:00:09 -0400
commitd09fb571fe4f2633ce888f35edae6e333665858c (patch)
treef43759c81f7b733abb259106af8a015ed0d558f8 /epan/dissectors/asn1/p22
parente69446aa55d293412002375a549e85327267e65b (diff)
asn1: convert most dissectors to pinfo->pool
Part 2/2 as the commits were too big for CI. Largely find/replace, with a few manual tweaks. Then regenerate the asn1 dissector sources and make sure everything still builds. There are a handful of cases I skipped as too complex, but this covers most of the asn1 dissectors.
Diffstat (limited to 'epan/dissectors/asn1/p22')
-rw-r--r--epan/dissectors/asn1/p22/p22.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/asn1/p22/p22.cnf b/epan/dissectors/asn1/p22/p22.cnf
index 5dd0945524..451a297673 100644
--- a/epan/dissectors/asn1/p22/p22.cnf
+++ b/epan/dissectors/asn1/p22/p22.cnf
@@ -232,7 +232,7 @@ IpnSecurityResponse B "2.6.1.18.1" "id-sec-security-common-fields"
%(DEFAULT_BODY)s
- name = oid_resolved_from_string(wmem_packet_scope(), actx->external.direct_reference);
+ name = oid_resolved_from_string(actx->pinfo->pool, actx->external.direct_reference);
proto_item_append_text(tree, " (%%s)", name ? name : actx->external.direct_reference);
#.FN_BODY IPMSExtension/value
@@ -261,7 +261,7 @@ IpnSecurityResponse B "2.6.1.18.1" "id-sec-security-common-fields"
%(DEFAULT_BODY)s
if(subject)
- col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", tvb_get_string_enc(wmem_packet_scope(), subject, 0,
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%%s)", tvb_get_string_enc(actx->pinfo->pool, subject, 0,
tvb_reported_length(subject), ENC_T61));
#.TYPE_ATTR