[asterisk-bugs] [JIRA] (ASTERISK-29211) res_musiconhold: Segfault on realtime music on hold without entries

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jan 14 10:39:05 CST 2021


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

Asterisk Team updated ASTERISK-29211:
-------------------------------------

    Target Release Version/s: 18.2.0

> res_musiconhold: Segfault on realtime music on hold without entries
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-29211
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29211
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: 13.38.0, 14.7.8, 15.7.4, 16.15.0, 17.9.0, 18.1.0
>            Reporter: Nathan Bruning
>            Assignee: Nathan Bruning
>            Severity: Minor
>      Target Release: 16.16.0, 18.2.0
>
>
> When configuring asterisk to use real-time music on hold, it will segfault if there are no entries in the DB.
> This is easy to spot in the sources: {{load_realtime_musiconhold}} doesn't check whether {{ast_load_realtime_multientry}} returns NULL.
> Simple fix would be to add a null check around the following code...



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



More information about the asterisk-bugs mailing list