[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:comment-tabpanel&focusedCommentId=226120#comment-226120 ] 

Matt Jordan commented on ASTERISK-24921:
----------------------------------------

This should have been resolved by 09c7c678a331e360463408b7be9671131154daea.

> [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