[asterisk-bugs] [JIRA] (ASTERISK-27217) Asterisk crashing when subscription doesn't get set

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Aug 24 12:13:07 CDT 2017


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

Richard Mudgett commented on ASTERISK-27217:
--------------------------------------------

The problem is {{get_sip_pvt_from_replaces()}} not returning -1 when it couldn't find sip_pvt_ptr.

> Asterisk crashing when subscription doesn't get set
> ---------------------------------------------------
>
>                 Key: ASTERISK-27217
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27217
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: 13.17.0
>            Reporter: Bryan Walters
>            Severity: Minor
>         Attachments: backtrace.txt
>
>
> Using Asterisk 13.17.0, we are seeing Asterisk crash in the event that it is trying to get subscription->value but subscription = 0. From conversations I've had to better understand the issue, my understanding is that if Asterisk tries to set a subscription but is unable to, it returns an error which gets handled. However, that doesn't seem to be the case with this backtrace. 



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



More information about the asterisk-bugs mailing list