[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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Oct 31 16:06:03 CDT 2013


Matt Jordan created ASTERISK-22799:
--------------------------------------

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


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