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
This commit is contained in:
Terry Wilson 2008-10-07 00:02:19 +00:00
parent eaa1b73fcf
commit cfaef11e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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;