[asterisk-bugs] [JIRA] (ASTERISK-15242) transmit_refer leaks sip_refer structures

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Dec 8 11:22:37 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-15242:
-----------------------------------

    Target Release Version/s: 11.15.0

> transmit_refer leaks sip_refer structures
> -----------------------------------------
>
>                 Key: ASTERISK-15242
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15242
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Transfers
>    Affects Versions: SVN, 11.13.1, 12.6.1, 13.0.0
>            Reporter: David Woolley
>            Assignee: Corey Farrell
>            Severity: Minor
>      Target Release: 11.15.0
>
>
> transmit_refer is used to implement the sip_transfer function on Up calls.  It calls sip_refer_allocate without checking to see if there is already a p->refer structure.
> Transfers can fail, so this can happen several times in a call.
> The only time that this structure is released is when the SIP private structure is destroyed.
> ****** ADDITIONAL INFORMATION ******
> Identified by code reading only and initially on 1.6.1.0, whilst working on ASTERISK-15145, but also present in the current trunk version.
> This is on my list for ASTERISK-15145, but we may yet abandon it, so I am recording it as as separate issue. (Also the fix may be obvious to someone who knows the code - my slight concern at the moment is that something may be assuming a clean structure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list