[asterisk-bugs] [Asterisk 0015939]: memory leak, tcptls_session never destroyed in chan_sip for client connections

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 24 15:44:55 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15939 
====================================================================== 
Reported By:                dvossel
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15939
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-22 17:52 CDT
Last Modified:              2009-09-24 15:44 CDT
====================================================================== 
Summary:                    memory leak, tcptls_session never destroyed in
chan_sip for client connections
Description: 
A sip_socket's tcptls_session is dereferenced properly, but due to an extra
ref count given in tcptls.c's ast_tcptls_client_start() function, the
tcptls_session is never destroyed.  This causes a memory leak for every
tcp/tls client connection made.
====================================================================== 

---------------------------------------------------------------------- 
 (0111352) svnbot (reporter) - 2009-09-24 15:44
 https://issues.asterisk.org/view.php?id=15939#c111352 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 220372

_U  branches/1.6.0/
U   branches/1.6.0/main/tcptls.c

------------------------------------------------------------------------
r220372 | dvossel | 2009-09-24 15:44:54 -0500 (Thu, 24 Sep 2009) | 14
lines

Merged revisions 220365 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220365 | dvossel | 2009-09-24 15:37:20 -0500 (Thu, 24 Sep 2009) | 8
lines
  
  fixes tcptls_session memory leak caused by ref count error
  
  (closes issue https://issues.asterisk.org/view.php?id=15939)
  Reported by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/375/
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-24 15:44 svnbot         Checkin                                      
2009-09-24 15:44 svnbot         Note Added: 0111352                          
======================================================================




More information about the asterisk-bugs mailing list