[Home]

Summary:ASTERISK-24476: main/app.c / app_voicemail: ast_writestream leaks
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2014-10-31 00:25:25Date Closed:2014-11-02 02:03:15.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail Core/General
Versions:SVN 1.8.31.1 11.13.1 12.6.1 13.0.0-beta3 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments: