[asterisk-bugs] [JIRA] (ASTERISK-24476) main/app.c / app_voicemail: ast_writestream leaks
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Sun Nov 2 02:07:28 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell closed ASTERISK-24476.
------------------------------------
> 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
>
> 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