[asterisk-bugs] [JIRA] (ASTERISK-22083) res_musiconhold segfault in free, in moh_scan_files

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Aug 26 16:04:44 CDT 2020


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

Sean Bright edited comment on ASTERISK-22083 at 8/26/20 4:03 PM:
-----------------------------------------------------------------

Technically this is the original bug and ASTERISK-28927 is the duplicate, but it is easier to just mark this as such and move on.


was (Author: seanbright):
Technically this is the original bug and ASTERISK-28927 is the duplicate, but it is easier to just mark this as such and move on. Check ASTERISK-28927 for release versions of the fix.

> res_musiconhold segfault in free, in moh_scan_files
> ---------------------------------------------------
>
>                 Key: ASTERISK-22083
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22083
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: 13.11.2, 14.0.2
>         Environment: Linux vgw1 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux
>            Reporter: Sébastien Couture
>      Target Release: 13.36.0, 16.13.0, 17.7.0
>
>         Attachments: backtrace.txt
>
>
> We've had Asterisk segfault with an error in res_musiconhold.c; more specifically in the 'moh_scan_files' function (line 1066):
> {code}
> for (i = 0; i < class->total_files; i++)
>   ast_free(class->filearray[i]);
> {code}
> I've attached a backtrace of the core dump. I'm wondering if this could be related to ASTERISK-21775. I haven't yet tried the patch mentioned in that issue.



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



More information about the asterisk-bugs mailing list