[asterisk-bugs] [JIRA] (ASTERISK-21724) [patch] __ast_rwlock_destroy can segfault with DEBUG_THREADS

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Jun 10 16:27:21 CDT 2013


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

Matt Jordan updated ASTERISK-21724:
-----------------------------------

    Target Release Version/s: 1.8.23.0
    
> [patch] __ast_rwlock_destroy can segfault with DEBUG_THREADS
> ------------------------------------------------------------
>
>                 Key: ASTERISK-21724
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21724
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: SVN, 1.8.22.0, 11.4.0
>         Environment: DEBUG_THREADS enabled
>            Reporter: Corey Farrell
>            Severity: Minor
>      Target Release: 1.8.23.0
>
>         Attachments: ast_rwlock_destroy-segv.patch
>
>
> __ast_rwlock_destroy doesn't check if t->track is NULL before using it.  This causes a segfault if the rwlock was initialized by value with tracking, then never used.
> I've marked this minor since I'm not aware any place in asterisk where this crash can happen.  I found this while testing other changes and starting asterisk with no modules.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list