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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Apr 29 19:51:39 CDT 2013


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

Rusty Newton updated ASTERISK-21724:
------------------------------------

    Status: Open  (was: Triage)
    
> [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
>         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