[asterisk-bugs] [JIRA] (ASTERISK-29730) Segfault in __ao2_ref if refdebug = yes

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Tue Nov 9 16:57:49 CST 2021


Alexei Gradinari created ASTERISK-29730:
-------------------------------------------

             Summary: Segfault in __ao2_ref if refdebug = yes
                 Key: ASTERISK-29730
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29730
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/General
    Affects Versions: 16.22.0
            Reporter: Alexei Gradinari


segfault in __ao2_ref

astobj2.c:658
if (ref_log && !(obj->priv_data.options & AO2_ALLOC_OPT_NO_REF_DEBUG)) {

but obj is already freed at line 642
ast_free(obj);



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



More information about the asterisk-bugs mailing list