Merged revisions 301845 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@301847 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
47ae1589cb
commit
a73d4619a5
|
@ -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;
|
char *tmp = ast_strdupa(data), *multicast_type = tmp, *destination, *control;
|
||||||
struct ast_rtp_instance *instance;
|
struct ast_rtp_instance *instance;
|
||||||
struct ast_sockaddr control_address;
|
struct ast_sockaddr control_address = { .len = 0 };
|
||||||
struct ast_sockaddr destination_address;
|
struct ast_sockaddr destination_address;
|
||||||
struct ast_channel *chan;
|
struct ast_channel *chan;
|
||||||
format_t fmt = ast_best_codec(format);
|
format_t fmt = ast_best_codec(format);
|
||||||
|
|
Reference in New Issue