[asterisk-commits] tilghman: branch 1.4 r159269 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 25 15:56:49 CST 2008


Author: tilghman
Date: Tue Nov 25 15:56:48 2008
New Revision: 159269

URL: http://svn.digium.com/view/asterisk?view=rev&rev=159269
Log:
Don't try to send a response on a NULL pvt.
(closes issue #13919)
 Reported by: barthpbx
 Patches: 
       chan_iax2.c.patch uploaded by eliel (license 64)
 Tested by: barthpbx

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=159269&r1=159268&r2=159269
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Tue Nov 25 15:56:48 2008
@@ -6271,7 +6271,7 @@
 
 	/* Make sure our call still exists, an INVAL at the right point may make it go away */
 	if (!iaxs[callno]) {
-		res = 0;
+		res = -1;
 		goto return_unref;
 	}
 




More information about the asterisk-commits mailing list