Summary: | ASTERISK-23792: Mutex left locked in chan_unistim.c | ||
Reporter: | Peter Whisker (whiskerp) | Labels: | |
Date Opened: | 2014-05-27 03:05:40 | Date Closed: | 2014-05-28 04:45:51 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_unistim |
Versions: | 11.9.0 12.2.0 | Frequency of Occurrence | Occasional |
Related Issues: | |||
Environment: | All | Attachments: | ( 0) chan_unistim.diff ( 1) chan_unistim.diff |
Description: | There is a conditional exit from a mutexted area of code which does not unlock before the return. | ||
Comments: | By: Peter Whisker (whiskerp) 2014-05-27 03:10:27.300-0500 If the condition is true, the routine returns without unlocking. By: Peter Whisker (whiskerp) 2014-05-28 03:03:50.336-0500 Updated diff against branches/11 (revision 414674). Changed fix to simply bring unlock forward 4 lines rather than duplicate it as suggested by wdoekes on the Review Board. By: Peter Whisker (whiskerp) 2014-05-28 03:05:19.767-0500 Review board #3567 https://reviewboard.asterisk.org/r/3567/ |