[asterisk-bugs] [JIRA] (ASTERISK-25522) ARI: Crash when creating channel via ARI originate with requesting channel

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Nov 4 15:01:33 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-25522.
----------------------------------


> ARI: Crash when creating channel via ARI originate with requesting channel
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-25522
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25522
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari, Resources/res_ari_channels
>            Reporter: Matt Jordan
>         Attachments: backTrace_11-03_819pm.txt
>
>
> When an ARI originate occurs with a requesting channel, the format capabilities structure that is pulled from the requesting channel is not being retrieved with the requesting channel lock held, nor is the lifetime of the format capabilities structure being ref bumped. As a result, other threads can manipulate the {{format_cap}} structure - such as removing all formats from the structure - causing a crash when the new channel is created.
> The attached backtrace demonstrates this occurring.



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



More information about the asterisk-bugs mailing list