[asterisk-commits] mvanbaak: trunk r158688 - /trunk/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 22 10:06:38 CST 2008


Author: mvanbaak
Date: Sat Nov 22 10:06:38 2008
New Revision: 158688

URL: http://svn.digium.com/view/asterisk?view=rev&rev=158688
Log:
fix a very occasional core dump in chan_skinny found by wedhorn.

(issue #13948)

Modified:
    trunk/channels/chan_skinny.c

Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=158688&r1=158687&r2=158688
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Sat Nov 22 10:06:38 2008
@@ -4682,7 +4682,8 @@
 				l->name, d->name, sub->callid);
 		}
 	}
-	if ((l->hookstate == SKINNY_ONHOOK) && (AST_LIST_NEXT(sub, list) && !AST_LIST_NEXT(sub, list)->rtp)) {
+	/* The bit commented below gives a very occasional core dump. */
+	if ((l->hookstate == SKINNY_ONHOOK) && (AST_LIST_NEXT(sub, list) /*&& !AST_LIST_NEXT(sub, list)->rtp*/)) {
 		do_housekeeping(s);
 	}
 	return 1;




More information about the asterisk-commits mailing list