[asterisk-commits] twilson: trunk r146970 -	/trunk/channels/chan_sip.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Oct  6 19:02:19 CDT 2008
    
    
  
Author: twilson
Date: Mon Oct  6 19:02:19 2008
New Revision: 146970
URL: http://svn.digium.com/view/asterisk?view=rev&rev=146970
Log:
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
Modified:
    trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=146970&r1=146969&r2=146970
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Oct  6 19:02:19 2008
@@ -16282,7 +16282,7 @@
 {
 	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;
 
    
    
More information about the asterisk-commits
mailing list