aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-07 00:02:19 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-07 00:02:19 +0000
commit025f19895fde03d1f6ceca3c1fd0eac031bc1124 (patch)
tree9f0d1f04affbfcb4d6ba46ffd7649687b3033a98 /channels
parente41ed2002e2c9a0d739b4c2f1dbb2235519193a1 (diff)
A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146970 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index df9468462..b5625be5b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -16282,7 +16282,7 @@ static void *sip_park_thread(void *stuff)
{
struct ast_channel *transferee, *transferer; /* Chan1: The transferee, Chan2: The transferer */
struct sip_dual *d;
- struct sip_request req;
+ struct sip_request req = {0,};
int ext;
int res;