[asterisk-commits] mmichelson: branch 1.6.0 r254549 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 25 12:22:38 CDT 2010


Author: mmichelson
Date: Thu Mar 25 12:22:34 2010
New Revision: 254549

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=254549
Log:
Fix potential use of uninitialized value.


Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=254549&r1=254548&r2=254549
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Thu Mar 25 12:22:34 2010
@@ -19075,6 +19075,8 @@
 			stream = p->vrtp;
 		} else if (!strcasecmp(args.type, "text")) {
 			stream = p->trtp;
+		} else {
+			stream = NULL;
 		}
 
 		if (!stream) {




More information about the asterisk-commits mailing list