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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Oct 23 03:54:21 CDT 2017


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

Corey Farrell closed ASTERISK-25375.
------------------------------------

    Resolution: Fixed

> 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
>         Attachments: backtrace-core.369.txt
>
>
> 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