[asterisk-bugs] [JIRA] (ASTERISK-24476) main/app.c / app_voicemail: ast_writestream leaks

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:28:23 CDT 2016


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

Asterisk Team updated ASTERISK-24476:
-------------------------------------

    Target Release Version/s: 14.0.0

> main/app.c / app_voicemail: ast_writestream leaks
> -------------------------------------------------
>
>                 Key: ASTERISK-24476
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24476
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail, Core/General
>    Affects Versions: SVN, 1.8.31.1, 11.13.1, 12.6.1, 13.0.0-beta3
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>      Target Release: 1.8.32.0, 11.14.0, 12.7.0, 13.1.0, 14.0.0
>
>
> Fix leak of ast_writestream recording_fs in app_voicemail:leave_voicemail.
> Fix cleanup in __ast_play_and_record where others[x] may be leaked.  This was caught where prepend != NULL && outmsg != NULL, once realfile[x] == NULL any further others[x] would be leaked.  I also added a cleanup block for prepend != NULL && outmsg == NULL.
> Note: this is a serious leak, a single ast_writestream is slightly over 64k.



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



More information about the asterisk-bugs mailing list