[asterisk-bugs] [Asterisk 0016011]: [patch] Crash on unregister SIP realtime peer - double free

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 10 09:33:40 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16011 
====================================================================== 
Reported By:                cristiandimache
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16011
Category:                   Resources/res_config_pgsql
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-rc2 
JIRA:                       SWP-311 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-02 05:09 CDT
Last Modified:              2009-11-10 09:33 CST
====================================================================== 
Summary:                    [patch] Crash on unregister SIP realtime peer -
double free
Description: 
When a realtime SIP peer unregisters, Asterisk crashes.
====================================================================== 

---------------------------------------------------------------------- 
 (0113555) svnbot (reporter) - 2009-11-10 09:33
 https://issues.asterisk.org/view.php?id=16011#c113555 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 229093

U   trunk/res/res_config_pgsql.c

------------------------------------------------------------------------
r229093 | dvossel | 2009-11-10 09:33:38 -0600 (Tue, 10 Nov 2009) | 11
lines

fixes pgsql double free of threadstorage

A thread storage variable was being freed incorrectly, which
resulted in a double free if two queries were made in the same thread.

(closes issue https://issues.asterisk.org/view.php?id=16011)
Reported by: cristiandimache
Patches:
      issue16011.diff uploaded by dvossel (license 671)


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-10 09:33 svnbot         Checkin                                      
2009-11-10 09:33 svnbot         Note Added: 0113555                          
2009-11-10 09:33 svnbot         Status                   feedback => assigned
======================================================================




More information about the asterisk-bugs mailing list