[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 14:24:58 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:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-22 17:52 CDT
Last Modified:              2009-09-24 14:24 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0111333) ebroad (reporter) - 2009-09-24 14:24
 https://issues.asterisk.org/view.php?id=15939#c111333 
---------------------------------------------------------------------- 
A patch for this issue can be found at
https://reviewboard.asterisk.org/r/375/ 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-24 14:24 ebroad         Note Added: 0111333                          
======================================================================




More information about the asterisk-bugs mailing list