aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h450.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-07-28 07:50:05 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-07-28 07:50:05 +0000
commit9dc704e5280e88150654161e293e852fc53fa5d4 (patch)
tree3c402d3dee4ca9e86f8b836827725370ef777cd0 /epan/dissectors/packet-h450.c
parent912401247bdd1cd193b82961112e43fbce47b71e (diff)
fropm martin m
fix for h450 to prevent an assertion for uninitialized hffields Thanks for the capture, Keith. The problem was with h450 hf fields that weren't initialised sucessfully (at all in one case, or with non-unique filter strings in several others) - it was hitting an assertion in proto.c when an attempt was made to use those fields. I was able to test by editing packet-h450.c directly, I couldn't regenerate it from packet-h450-template.c. I'm attaching a patch to packet-h450-template.c that hopefully does the same thing. If someone can generate and check it packet-h450.c in for me I'll retest. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18804 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-h450.c')
-rw-r--r--epan/dissectors/packet-h450.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/epan/dissectors/packet-h450.c b/epan/dissectors/packet-h450.c
index d1f7cedf7f..fc811b17e7 100644
--- a/epan/dissectors/packet-h450.c
+++ b/epan/dissectors/packet-h450.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* .\packet-h450.c */
+/* ./packet-h450.c */
/* ../../tools/asn2wrs.py -e -p h450 -c h450.cnf -s packet-h450-template h4501.asn */
/* Input file: packet-h450-template.c */
@@ -4119,26 +4119,29 @@ void proto_register_h450(void) {
{ &hf_h4501,
{ "SupplementaryService", "h4501.SupplementaryService", FT_NONE, BASE_NONE,
NULL, 0, "SupplementaryService sequence", HFILL }},
- { &hf_h4501_constrained_invokeId,
+ { &hf_h4501_dummy,
+ { "dummy", "h4501.dummy", FT_NONE, BASE_NONE,
+ NULL, 0, "Dummy", HFILL }},
+ { &hf_h4501_constrained_invokeId,
{ "invokeId", "h4501.invokeId", FT_UINT32, BASE_DEC,
- NULL, 0, "invokeId", HFILL }},
+ NULL, 0, "constrained_invokeId", HFILL }},
{ &hf_h4501_invokeId,
{ "invokeId", "h4501.invokeId", FT_INT32, BASE_DEC,
NULL, 0, "invokeId", HFILL }},
{ &hf_h4501_localOpcode,
- { "opcode", "h4501.opcode", FT_INT32, BASE_DEC,
+ { "localOpcode", "h4501.localOpcode", FT_INT32, BASE_DEC,
VALS(localOpcode_vals), 0, "local", HFILL }},
{ &hf_h4501_globalCode,
- { "global", "h4501.global", FT_STRING, BASE_HEX,
+ { "globalCode", "h4501.globalCode", FT_STRING, BASE_HEX,
NULL, 0, "global", HFILL }},
{ &hf_h4501_globalargument,
- { "argument", "h4501.argument", FT_BYTES, BASE_HEX,
+ { "argumentArgument", "h4501.globalArgument", FT_BYTES, BASE_HEX,
NULL, 0, "argument", HFILL }},
{ &hf_h4501_opcode,
{ "opcode", "h4501.opcode", FT_UINT32, BASE_DEC,
VALS(opcode_vals), 0, "opcode choice", HFILL }},
{ &hf_h4501_ReturnResult_result,
- { "result", "h4501.ReturnResult.result", FT_BYTES, BASE_HEX,
+ { "ReturnResult_result", "h4501.ReturnResult.result", FT_BYTES, BASE_HEX,
NULL, 0, "result", HFILL }},
{ &hf_h4501_result,
{ "result", "h4501.result", FT_NONE, BASE_NONE,
@@ -4147,7 +4150,7 @@ void proto_register_h450(void) {
{ "ReturnResult", "h4501.ReturnResult", FT_NONE, BASE_NONE,
NULL, 0, "ReturnResult sequence of", HFILL }},
{ &hf_h4501_localErrorCode,
- { "errorCode", "h4501.errorCode", FT_INT32, BASE_DEC,
+ { "localErrorCode", "h4501.localErrorCode", FT_INT32, BASE_DEC,
VALS(localErrorCode_vals), 0, "local", HFILL }},
{ &hf_h4501_errorCode,
{ "errorCode", "h4501.errorCode", FT_UINT32, BASE_DEC,
@@ -5371,7 +5374,7 @@ void proto_register_h450(void) {
"Extension/extensionArgument", HFILL }},
/*--- End of included file: packet-h450-hfarr.c ---*/
-#line 1036 "packet-h450-template.c"
+#line 1039 "packet-h450-template.c"
};
/* List of subtrees */
@@ -5513,7 +5516,7 @@ void proto_register_h450(void) {
&ett_h450_Extension,
/*--- End of included file: packet-h450-ettarr.c ---*/
-#line 1052 "packet-h450-template.c"
+#line 1055 "packet-h450-template.c"
};