[asterisk-bugs] [Asterisk 0017782]: [patch] If EWS request fails, asterisk crashes because of double free

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 05:22:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17782 
====================================================================== 
Reported By:                pitel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17782
Category:                   Resources/res_calendar
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 280705 
Request Review:              
====================================================================== 
Date Submitted:             2010-08-03 05:18 CDT
Last Modified:              2010-08-03 05:22 CDT
====================================================================== 
Summary:                    [patch] If EWS request fails, asterisk crashes
because of double free
Description: 
Summary says it all
====================================================================== 

---------------------------------------------------------------------- 
 (0125454) pitel (reporter) - 2010-08-03 05:22
 https://issues.asterisk.org/view.php?id=17782#c125454 
---------------------------------------------------------------------- 
Patch removes call to ast_free() in function send_ews_request_and_parse()
when request fails. The ast_free() function is always called after
send_ews_request_and_parse() (lines 547, 607 and 646) so it should not
produce any memory leaks.

P.S. I thought ast_free() is checking if it can free the momory, but
appereantly it doesn't. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 05:22 pitel          Note Added: 0125454                          
======================================================================




More information about the asterisk-bugs mailing list