aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/p7/p7.cnf
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-22 10:23:44 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-22 10:23:44 +0000
commitcc2b651153d2b6f2a3d7e6f2a4e520133688b270 (patch)
tree2149f3f37cce72dcb6e375ce741b83c0eaac8e18 /asn1/p7/p7.cnf
parentfe808534420e53112ae571511c1733e2598b0b6a (diff)
Ensure we always have a valid top_tree for p1.content. This fixes a problem
with other dissectors using p1.content, such as p7. Reset global content_type_id so this will be correct in more cases. This is still not a good solution, because ContentType and Content are generic objects which may occur individual in P7. Indicate when to report invalid content-type. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36025 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/p7/p7.cnf')
-rw-r--r--asn1/p7/p7.cnf14
1 files changed, 14 insertions, 0 deletions
diff --git a/asn1/p7/p7.cnf b/asn1/p7/p7.cnf
index 487f6f7c2e..fe2fba6624 100644
--- a/asn1/p7/p7.cnf
+++ b/asn1/p7/p7.cnf
@@ -402,3 +402,17 @@ RTSE-apdus B "2.6.0.2.10""id-as-ms-rtse"
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (count=%%d)", count);
}
+#.FN_BODY MSMessageSubmissionArgument
+ p1_initialize_content_globals (tree, TRUE);
+ %(DEFAULT_BODY)s
+ p1_initialize_content_globals (NULL, FALSE);
+
+#.FN_BODY EntryInformation
+ p1_initialize_content_globals (NULL, FALSE);
+ %(DEFAULT_BODY)s
+ p1_initialize_content_globals (NULL, FALSE);
+
+#.FN_BODY EntryModification
+ p1_initialize_content_globals (NULL, FALSE);
+ %(DEFAULT_BODY)s
+ p1_initialize_content_globals (NULL, FALSE);