[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 14:25:33 CST 2015


Matt Jordan created ASTERISK-25522:
--------------------------------------

             Summary: 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


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