[asterisk-bugs] [JIRA] (ASTERISK-22799) CEL: Invalid cel.conf will fail to create Stasis topic, allowing for a crash if CELGenUserEvent attempts to publish to it

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Tue Nov 12 13:52:03 CST 2013


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

Kinsey Moore updated ASTERISK-22799:
------------------------------------

    Reviewboard Link: https://reviewboard.asterisk.org/r/3010/
    
> CEL: Invalid cel.conf will fail to create Stasis topic, allowing for a crash if CELGenUserEvent attempts to publish to it
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22799
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22799
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/app_celgenuserevent, CEL/General
>    Affects Versions: 12.0.0-beta1
>            Reporter: Matt Jordan
>            Assignee: Kinsey Moore
>
> If an invalid CEL configuration is provided, Asterisk will disable CEL but still load. If it does so, it will fail to create the CEL Stasis topic - which means anyone who grabs the topic will just NULL.
> This causes a crash in {{app_celgenuserevent}}, as it doesn't bother to check if the topic is NULL or not when it publishes the CEL user event.
> While we could check to see if the topic is NULL or not in that application, that doesn't stop anyone else who has written a dialplan application that upgrades it to 12 (all 0 of them) from also crashing. CEL should probably always create the topic on initialization and dispose of it on shutdown, just to be safe.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list