[asterisk-bugs] [Asterisk 0017255]: [patch] UDP ports not freed/ports leaking

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 11 12:15:52 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17255 
====================================================================== 
Reported By:                kvveltho
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17255
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.4/1.6.2 Issues (Final Release)
Asterisk Version:           SVN 
JIRA:                       SWP-1410 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1101/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-28 06:23 CDT
Last Modified:              2011-05-11 12:15 CDT
====================================================================== 
Summary:                    [patch] UDP ports not freed/ports leaking
Description: 
The following is not fixed:

These release candidates resolve an issue with UDP ports not being freed,
per
issue https://issues.asterisk.org/view.php?id=16774
(https://issues.asterisk.org/view.php?id=16774)

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016774 [patch] [regression] 1.6.1.13 and 1.6.1...
related to          0018121 Early bind of UDPTL ports can create a ...
related to          0018924 [patch] uncached realtime peers are put...
child of            0018027 memory leak in chan_sip.c
====================================================================== 

---------------------------------------------------------------------- 
 (0134793) svnbot (reporter) - 2011-05-11 12:15
 https://issues.asterisk.org/view.php?id=17255#c134793 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318548

U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r318548 | twilson | 2011-05-11 12:15:41 -0500 (Wed, 11 May 2011) | 19
lines

Clean up several chan_sip reference leaks

Several situations in the code could lead to peers or sip_pvt references
being leaked. This would cause RTP ports to never be destroyed (leading
to exhaustion of all available RTP ports) and memory leaks.

The original patch for this issue from rgagnon was the result of an
obscene amount of testing and hard work, for which I am very grateful. I
did some cleanup and added a few additional refcount fixes that I found.

(closes issue https://issues.asterisk.org/view.php?id=17255)
Reported by: kvveltho
Patches: 
      tag-1.6.2.17-r309252-sip-dos-mem-leak-fix.diff uploaded by rgagnon
(license 1202)
Tested by: rgagnon, twilson, wdoekes, loloski

Review: https://reviewboard.asterisk.org/r/1101/
Review: https://reviewboard.asterisk.org/r/1207/

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-11 12:15 svnbot         Checkin                                      
2011-05-11 12:15 svnbot         Note Added: 0134793                          
======================================================================




More information about the asterisk-bugs mailing list