[asterisk-bugs] [JIRA] (ASTERISK-21790) Leaking UDP-Ports due to not decremented refcount in send_provisional_keepalive_full

Jan Juergens (JIRA) noreply at issues.asterisk.org
Fri May 17 03:36:01 CDT 2013


Jan Juergens created ASTERISK-21790:
---------------------------------------

             Summary: Leaking UDP-Ports due to not decremented refcount in send_provisional_keepalive_full
                 Key: ASTERISK-21790
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21790
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 11.3.0
         Environment: Debian 6.0.6, Kernel 2.6.32-5-amd64
            Reporter: Jan Juergens


Running Asterisk in our environment, a lot of UDP-Ports are leaked per day. While investigating, we tracked the issue down to RTP/RTCP-Ports and found a refcounter issue in the function {{send_provisional_keepalive_full()}}, where a {{dialog_unref()}} was commented out. This apparently has been done to fix [ASTERISK-18979|https://issues.asterisk.org/jira/browse/ASTERISK-18979], but the author wasn't sure if this patch made sense.
We commented the missing unref back in, in our scenarios this helped clean up the UDP ports and we didn't have any segfault so far.
As of writing, this out-commented section is still in the trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list