aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-11-05 08:28:34 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-11-05 08:28:34 +0000
commitb9f01a15dbf05953e3d755c45b32fa0fb9e7ccb1 (patch)
treeb79b873421b5f7d6cad34daebe55bace2fc3cb06 /asn1
parent0e66df8719ac45fc9bb41a25528df4b1b5449589 (diff)
Initialize dummy_me to avoid garbage or undefined values.
svn path=/trunk/; revision=34788
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h245/h245.cnf2
1 files changed, 2 insertions, 0 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 653ff31f4a..c103e0b320 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -72,6 +72,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
/* create a h223_mux_element to hold onto the head of the list, since
* h223_me will track the tail */
h223_mux_element dummy_me;
+ memset (&dummy_me, 0, sizeof (h223_mux_element));
h223_me = &dummy_me;
%(DEFAULT_BODY)s
/* set h223_me to the head of the list for MEDescriptor to pick up */
@@ -98,6 +99,7 @@ Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#----------------------------------------------------------------------------------------
#.FN_BODY MultiplexElement/type/subElementList
h223_mux_element dummy_me, *parent_me = h223_me;
+ memset (&dummy_me, 0, sizeof (h223_mux_element));
h223_me = &dummy_me;
%(DEFAULT_BODY)s
parent_me->sublist = dummy_me.next;