[svn-commits] trunk r33296 - /trunk/channels/chan_iax2.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jun 9 11:20:29 MST 2006
Author: file
Date: Fri Jun 9 13:20:28 2006
New Revision: 33296
URL: http://svn.digium.com/view/asterisk?rev=33296&view=rev
Log:
Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)
Modified:
trunk/channels/chan_iax2.c
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=33296&r1=33295&r2=33296&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Fri Jun 9 13:20:28 2006
@@ -2236,7 +2236,7 @@
static void __get_from_jb(void *p)
{
int callno = PTR_TO_CALLNO(p);
- struct chan_iax2_pvt *pvt = iaxs[callno];
+ struct chan_iax2_pvt *pvt = NULL;
struct iax_frame *fr;
jb_frame frame;
int ret;
More information about the svn-commits
mailing list