[asterisk-bugs] [JIRA] (ASTERISK-24437) Review implementation of ast_bridge_impart for leaks and document proper usage

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Nov 3 13:59:02 CST 2014


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

Matt Jordan updated ASTERISK-24437:
-----------------------------------

    Target Release Version/s: 12.7.0

> Review implementation of ast_bridge_impart for leaks and document proper usage
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24437
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24437
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Bridging
>            Reporter: Scott Griepentrog
>            Severity: Minor
>      Target Release: 12.7.0
>
>         Attachments: ASTERISK-24437-12.diff
>
>
> When calling ast_bridge_impart, there is different behavior for some early failure cases versus later ones.  This appears to allow for leaking of features passed in.  After reviewing the implementation, a documentation header should be then added to describe what refs should be held, or are consumed, or channels that need to be hung up by the caller and under what conditions, etc., and a quick check made of usage cases to insure they follow the requirements.



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



More information about the asterisk-bugs mailing list