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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Apr 27 18:39:40 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259009#comment-259009 ] 

Friendly Automation commented on ASTERISK-30002:
------------------------------------------------

Change 18464 merged by Joshua Colp:
app_meetme: Don't erroneously set global variables.

[https://gerrit.asterisk.org/c/asterisk/+/18464|https://gerrit.asterisk.org/c/asterisk/+/18464]

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