[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.79,1.79.2.1

russell at lists.digium.com russell at lists.digium.com
Tue Oct 5 17:37:31 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6144/channels

Modified Files:
      Tag: v1-0
	chan_mgcp.c 
Log Message:
fix chan_mgcp seg fault (bug #2572)


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.79
retrieving revision 1.79.2.1
diff -u -d -r1.79 -r1.79.2.1
--- chan_mgcp.c	24 Sep 2004 19:21:24 -0000	1.79
+++ chan_mgcp.c	5 Oct 2004 21:39:00 -0000	1.79.2.1
@@ -2879,7 +2879,7 @@
 						tmp_sub = tmp_ep->sub;
 						while (tmp_sub) {
 							if (tmp_sub->owner)
-								ast_softhangup(sub->owner, AST_SOFTHANGUP_DEV);
+								ast_softhangup(tmp_sub->owner, AST_SOFTHANGUP_DEV);
 							tmp_sub = tmp_sub->next;
 							if (tmp_sub == first_sub)
 								break;




More information about the svn-commits mailing list