Summary: | ASTERISK-21724: [patch] __ast_rwlock_destroy can segfault with DEBUG_THREADS | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2013-04-29 11:05:17 | Date Closed: | 2013-05-15 10:58:38 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Core/General |
Versions: | SVN 1.8.22.0 11.4.0 | Frequency of Occurrence | One Time |
Related Issues: | |||
Environment: | DEBUG_THREADS enabled | Attachments: | ( 0) ast_rwlock_destroy-segv.patch |
Description: | __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. | ||
Comments: |