[asterisk-bugs] [JIRA] (ASTERISK-24921) [patch]RAII reentrancy issue when compiled with clang

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed May 6 07:32:33 CDT 2015


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

Matt Jordan closed ASTERISK-24921.
----------------------------------

    Resolution: Fixed

> [patch]RAII reentrancy issue when compiled with clang
> -----------------------------------------------------
>
>                 Key: ASTERISK-24921
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24921
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.2.0
>         Environment: clang-3.6
>            Reporter: Diederik de Groot
>         Attachments: RAII_clang_backtrace.txt
>
>
> clang version of the RAII macro is not re-entrant proof. It will destruct the pointer on the first exit of the recursion and multiple time (double-free).



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



More information about the asterisk-bugs mailing list