[asterisk-bugs] [Asterisk 0015072]: [patch] Possible crash in pbx_spool.c - operation on previously freed structure

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 3 15:39:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15072 
====================================================================== 
Reported By:                garlew
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15072
Category:                   PBX/pbx_spool
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-09 03:01 CDT
Last Modified:              2009-06-03 15:39 CDT
====================================================================== 
Summary:                    [patch] Possible crash in pbx_spool.c - operation on
previously freed structure
Description: 
see the patch
====================================================================== 

---------------------------------------------------------------------- 
 (0105945) svnbot (reporter) - 2009-06-03 15:39
 https://issues.asterisk.org/view.php?id=15072#c105945 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 198957

U   branches/1.4/pbx/pbx_spool.c

------------------------------------------------------------------------
r198957 | seanbright | 2009-06-03 15:39:10 -0500 (Wed, 03 Jun 2009) | 11
lines

Fix a possible crash in pbx_spool.

We were trying to reference members of a struct that had previously been
freed.
This patch makes sure that we free the struct after it has been removed
from
the spooler queue.

(closes issue https://issues.asterisk.org/view.php?id=15072)
Reported by: garlew
Patches:
      spool.diff uploaded by garlew (license 376)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=198957 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-03 15:39 svnbot         Checkin                                      
2009-06-03 15:39 svnbot         Note Added: 0105945                          
======================================================================




More information about the asterisk-bugs mailing list