[svn-commits] file: trunk r58924 - in /trunk: ./ channels/chan_iax2.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Mar 15 11:21:04 MST 2007


Author: file
Date: Thu Mar 15 13:21:03 2007
New Revision: 58924

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58924
Log:
Merged revisions 58923 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58923 | file | 2007-03-15 15:13:21 -0300 (Thu, 15 Mar 2007) | 2 lines

Don't assume that the pvt structure will still exist after calling schedule_delivery as it may not. (issue #9278 reported by fmachado)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=58924&r1=58923&r2=58924
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Mar 15 13:21:03 2007
@@ -6500,7 +6500,7 @@
 					duped_fr = iaxfrdup2(fr);
 					if (duped_fr)
 						schedule_delivery(duped_fr, 1, 1, &fr->ts);
-					if (iaxs[fr->callno]->last < fr->ts)
+					if (iaxs[fr->callno] && iaxs[fr->callno]->last < fr->ts)
 						iaxs[fr->callno]->last = fr->ts;
 				}
 			} else {



More information about the svn-commits mailing list