[asterisk-bugs] [JIRA] (ASTERISK-25121) Stasis: Fix unsafe use of stasis_unsubscribe in modules.

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sun Jul 26 11:56:37 CDT 2015


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

Matt Jordan updated ASTERISK-25121:
-----------------------------------

    Target Release Version/s: 13.5.0

> Stasis: Fix unsafe use of stasis_unsubscribe in modules.
> --------------------------------------------------------
>
>                 Key: ASTERISK-25121
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25121
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Stasis
>    Affects Versions: SVN, 13.3.2
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>            Severity: Minor
>      Target Release: 13.5.0
>
>
> Many uses of {{stasis_unsubscribe}} in modules can be reached through unload.  In these cases it needs to be switched to {{stasis_unsubscribe_and_join}}.
> Some subscription callbacks do nothing, for these I've created a noop callback function in stasis.c.  This is used by some modules that monitor MWI topics to enable cache, since the callback does not become invalid after dlclose it is safe to use {{stasis_unsubscribe}} on these, even during module unload.



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



More information about the asterisk-bugs mailing list