[asterisk-bugs] [JIRA] (ASTERISK-30002) app_meetme: Don't erroneously set global variables when channel is NULL

N A (JIRA) noreply at issues.asterisk.org
Thu Mar 31 10:43:29 CDT 2022


N A created ASTERISK-30002:
------------------------------

             Summary: app_meetme: Don't erroneously set global variables when channel is NULL
                 Key: ASTERISK-30002
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30002
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_meetme
    Affects Versions: 18.6.0
            Reporter: N A


There is a bug in app_meetme where pbx_builtin_setvar_helper is used to set a status variable for a channel.

However, the SLA applications also use the meetme functions, which means that when these are used, chan is NULL and thus global variables are set, erroneously polluting the global variable namespace with nonsense.

This fixes this by ensuring that these status variables are set only if a channel exists.



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



More information about the asterisk-bugs mailing list