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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Mar 31 13:02:33 CDT 2015


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

Rusty Newton updated ASTERISK-24921:
------------------------------------

    Reviewboard Link: https://reviewboard.asterisk.org/r/4543/

> 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