From: Terry Wilson Date: Tue, 7 Oct 2008 00:02:19 +0000 (+0000) Subject: A blind transfer to the parking thread would cause a segfault because copy_request... X-Git-Tag: 1.6.2.0-beta1~1187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfaef11e0f263a6cac11f257b02da653b08dce76;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@146970 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index df94684624..b5625be5ba 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;