Merged revisions 301845 via svnmerge from
authorBrett Bryant <bbryant@digium.com>
Fri, 14 Jan 2011 19:44:11 +0000 (19:44 +0000)
committerBrett Bryant <bbryant@digium.com>
Fri, 14 Jan 2011 19:44:11 +0000 (19:44 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r301845 | bbryant | 2011-01-14 14:35:23 -0500 (Fri, 14 Jan 2011) | 9 lines

  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/
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@301847 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_multicast_rtp.c

index 93f4647..509a0ca 100644 (file)
@@ -111,7 +111,7 @@ static struct ast_channel *multicast_rtp_request(const char *type, format_t form
 {
        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);