[asterisk-bugs] [JIRA] (ASTERISK-26672) Crash when setting remote address on RTP instance

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Jan 6 13:52:10 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234487#comment-234487 ] 

Friendly Automation commented on ASTERISK-26672:
------------------------------------------------

Change 4660 merged by zuul:
res_rtp_asterisk.c: Initialize ourip passed to ast_find_ourip().

[https://gerrit.asterisk.org/4660|https://gerrit.asterisk.org/4660]

> Crash when setting remote address on RTP instance
> -------------------------------------------------
>
>                 Key: ASTERISK-26672
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26672
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_rtp, Resources/res_rtp_asterisk
>    Affects Versions: 13.13.1
>            Reporter: Richard Mudgett
>            Assignee: Richard Mudgett
>         Attachments: originate-hangup-backtrace_10725.txt, static_host-backtrace_13772.txt
>
>
> During internal testing we had a crash when Asterisk was trying to set the remote RTP address.  As it turned out the crash was because the code was manipulating an uninitialized IP address structure after failing to setup a socket.
> The attached backtraces show us trying to copy the uninitialized 'us' address structure from ast_rtp_remote_address_set() in ast_sockaddr_copy().



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list