[asterisk-commits] mmichelson: branch group/v14_colp r156752 - /team/group/v14_colp/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 13 17:16:29 CST 2008


Author: mmichelson
Date: Thu Nov 13 17:16:29 2008
New Revision: 156752

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156752
Log:
Fix a crash due to a potential NULL pointer


Modified:
    team/group/v14_colp/channels/chan_local.c

Modified: team/group/v14_colp/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/team/group/v14_colp/channels/chan_local.c?view=diff&rev=156752&r1=156751&r2=156752
==============================================================================
--- team/group/v14_colp/channels/chan_local.c (original)
+++ team/group/v14_colp/channels/chan_local.c Thu Nov 13 17:16:29 2008
@@ -366,7 +366,7 @@
 	} else if (condition == AST_CONTROL_CONNECTED_LINE) {
 		/* We need to queue the actual channel's info, dawg */
 		isoutbound = IS_OUTBOUND(ast, p);
-		if (isoutbound) {
+		if (isoutbound && p->owner) {
 			/*XXX investigate later for potential deadlock issues */
 			ast_queue_connected_line_update(p->owner, &p->chan->connected);
 		}




More information about the asterisk-commits mailing list