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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Nov 3 13:54:36 CST 2014


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

Matt Jordan updated ASTERISK-24476:
-----------------------------------

    Target Release Version/s: 1.8.32.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
>
>
> 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