[svn-commits] branch crichter/0.3.0 - r8093
/team/crichter/0.3.0/channels/chan_misdn.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Jan 16 01:05:39 MST 2006
Author: crichter
Date: Mon Jan 16 02:05:37 2006
New Revision: 8093
URL: http://svn.digium.com/view/asterisk?rev=8093&view=rev
Log:
fixed segfault with jitterbuffer
Modified:
team/crichter/0.3.0/channels/chan_misdn.c
Modified: team/crichter/0.3.0/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/chan_misdn.c?rev=8093&r1=8092&r2=8093&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/chan_misdn.c (original)
+++ team/crichter/0.3.0/channels/chan_misdn.c Mon Jan 16 02:05:37 2006
@@ -3452,6 +3452,7 @@
break;
}
+#if 1
{
struct chan_list *holded_ch=find_holded(cl_te, bc);
if (holded_ch) {
@@ -3461,6 +3462,7 @@
break;
}
}
+#endif
if (AST_BRIDGED_P(ch->ast)){
ch->state = MISDN_HOLDED;
@@ -3961,6 +3963,8 @@
{
int i, j, rp, wp;
+ if (!jb || ! data) return 0;
+
ast_mutex_lock (&jb->mutexjb);
wp=jb->wp;
More information about the svn-commits
mailing list