aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sccp.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-15 20:01:45 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-15 20:01:45 +0000
commit3293ad72bf575c81cc66aac2149525219de660f9 (patch)
tree797cfb6fa919dcbbe20eb79ae3782c5179a772c6 /epan/dissectors/packet-sccp.c
parent2123f40af05f65029117218569eb61389d40117f (diff)
packet_sccp.c: Init an uninit'd variable which was the cause of intermittent crashes.
Fixes Bug #3409 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3409) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28058 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sccp.c')
-rw-r--r--epan/dissectors/packet-sccp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c
index dea19f8b67..1cc27b3a91 100644
--- a/epan/dissectors/packet-sccp.c
+++ b/epan/dissectors/packet-sccp.c
@@ -805,11 +805,12 @@ static sccp_assoc_info_t* new_assoc(guint32 calling, guint32 called){
a->called_ssn = INVALID_SSN;
a->has_fw_key = FALSE;
a->has_bw_key = FALSE;
+ a->msgs = NULL;
+ a->curr_msg = NULL;
a->payload = SCCP_PLOAD_NONE;
a->calling_party = NULL;
a->called_party = NULL;
a->extra_info = NULL;
- a->msgs = NULL;
return a;
}