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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Jan 9 07:23:10 CST 2017


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

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

Change 4657 merged by Joshua Colp:
chan_rtp.c: Fix uninitialized memory crash.

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

> 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