[asterisk-commits] mnicholson: branch 1.6.1 r161722 - in /branches/1.6.1: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 8 11:24:32 CST 2008


Author: mnicholson
Date: Mon Dec  8 11:24:32 2008
New Revision: 161722

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161722
Log:
Merged revisions 161721 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161721 | mnicholson | 2008-12-08 11:23:41 -0600 (Mon, 08 Dec 2008) | 7 lines
  
  Fix a crash that can occur on a transfer in chan_sip when attempting to collect
  rtp stats.
  
  (closes issue #13956)
  Reported by: chris-mac
  Tested by: chris-mac
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/channels/chan_sip.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=161722&r1=161721&r2=161722
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Mon Dec  8 11:24:32 2008
@@ -5149,7 +5149,7 @@
 				if (bridge) {
 					struct sip_pvt *q = bridge->tech_pvt;
 
-					if (IS_SIP_TECH(bridge->tech) && q->rtp)
+					if (IS_SIP_TECH(bridge->tech) && q)
 						ast_rtp_set_vars(bridge, q->rtp);
 				}
 




More information about the asterisk-commits mailing list