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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Nov 19 09:55:49 CST 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257101#comment-257101 ] 

Friendly Automation commented on ASTERISK-29730:
------------------------------------------------

Change 17552 merged by Joshua Colp:
astobj2.c: Fix core when ref_log enabled

[https://gerrit.asterisk.org/c/asterisk/+/17552|https://gerrit.asterisk.org/c/asterisk/+/17552]

> 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