[asterisk-commits] bbryant: branch 1.8 r301845 - /branches/1.8/channels/chan_multicast_rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 14 13:35:30 CST 2011


Author: bbryant
Date: Fri Jan 14 13:35:23 2011
New Revision: 301845

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=301845
Log:
Fix for a consistent MulticastRTP channel driver crash due to use of unitilized
data.

(closes issue #18290)
(closes issue #18602)
Reported by: voipgate, wybecom

Review: https://reviewboard.asterisk.org/r/1076/

Modified:
    branches/1.8/channels/chan_multicast_rtp.c

Modified: branches/1.8/channels/chan_multicast_rtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_multicast_rtp.c?view=diff&rev=301845&r1=301844&r2=301845
==============================================================================
--- branches/1.8/channels/chan_multicast_rtp.c (original)
+++ branches/1.8/channels/chan_multicast_rtp.c Fri Jan 14 13:35:23 2011
@@ -111,7 +111,7 @@
 {
 	char *tmp = ast_strdupa(data), *multicast_type = tmp, *destination, *control;
 	struct ast_rtp_instance *instance;
-	struct ast_sockaddr control_address;
+	struct ast_sockaddr control_address = { .len = 0 };
 	struct ast_sockaddr destination_address;
 	struct ast_channel *chan;
 	format_t fmt = ast_best_codec(format);




More information about the asterisk-commits mailing list