[asterisk-bugs] [JIRA] (ASTERISK-25375) Bad ao2 pointer on snapshot cleanup after creation

Scott Griepentrog (JIRA) noreply at issues.asterisk.org
Fri Sep 4 09:21:33 CDT 2015


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

Scott Griepentrog reassigned ASTERISK-25375:
--------------------------------------------

    Assignee: Scott Griepentrog

> Bad ao2 pointer on snapshot cleanup after creation
> --------------------------------------------------
>
>                 Key: ASTERISK-25375
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25375
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>         Environment: CentOS 7 VPS with Asterisk 13 current GIT
>            Reporter: Scott Griepentrog
>            Assignee: Scott Griepentrog
>
> In ast_endpoint_snapshot_create(), a failure results in ao2_cleanup of the snapshot object just allocated.  However use of RAII_VAR causes another cleanup on a no longer valid ao2 pointer.



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



More information about the asterisk-bugs mailing list