[asterisk-bugs] [JIRA] (ASTERISK-27571) res_pjsip: If SIP response is received during shutdown a crash may occur

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Feb 22 15:21:22 CST 2018


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

Asterisk Team updated ASTERISK-27571:
-------------------------------------

    Target Release Version/s: 13.20.0

> res_pjsip: If SIP response is received during shutdown a crash may occur
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-27571
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27571
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.18.5, 15.1.5
>            Reporter: Joshua Colp
>            Severity: Minor
>              Labels: pjsip
>      Target Release: 13.20.0
>
>         Attachments: backtrace_388.txt, full.txt
>
>
> During shutdown various things are unregistered, including res_pjsip_session. Unfortunately it is unregistered before res_pjsip. This causes a brief window where traffic may come in that is still associated with res_pjsip_session. Attempting to access the session will produce the wrong result as the index value present on res_pjsip_session will have been reset to -1 instead of its true position. This causes a crash.
> Crash caught by testsuite: tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_app.



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



More information about the asterisk-bugs mailing list