[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


Scott Griepentrog created ASTERISK-25375:
--------------------------------------------

             Summary: 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


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