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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 11 13:51:04 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-28 06:23 CDT
Last Modified:              2011-05-11 13:50 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
====================================================================== 

---------------------------------------------------------------------- 
 (0134801) svnbot (reporter) - 2011-05-11 13:50
 https://issues.asterisk.org/view.php?id=17255#c134801 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 318551

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r318551 | twilson | 2011-05-11 13:50:53 -0500 (Wed, 11 May 2011) | 34
lines

Merged revisions 318549 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r318549 | twilson | 2011-05-11 13:39:48 -0500 (Wed, 11 May 2011) | 27
lines
  
  Merged revisions 318548 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    r318548 | twilson | 2011-05-11 12:15:39 -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/
    Review: https://reviewboard.asterisk.org/r/1210/
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-11 13:50 svnbot         Checkin                                      
2011-05-11 13:50 svnbot         Note Added: 0134801                          
======================================================================




More information about the asterisk-bugs mailing list