[Home]

Summary:ASTERISK-04105: multiple ast_mutex_unlock(&hintlock) in pbx.c::ast_extension_state_add()
Reporter:Luigi Rizzo (rizzo)Labels:
Date Opened:2005-05-07 06:32:35Date Closed:2008-01-15 15:33:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_adsi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 4205.patch.txt
Description:pbx.c::ast_extension_state_add() can call ast_mutex_unlock(&hintlock)
multiple times. I suspect there is a missing return 0; in the
while loop after line 1923.
Comments:By: Russell Bryant (russell) 2005-05-07 08:34:06

Here's the patch.  Disclaimer is on file

By: Mark Spencer (markster) 2005-05-08 12:48:30

Fixed in CVS head, good eye!

By: Russell Bryant (russell) 2005-05-10 23:02:06

fixed in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:33:39.000-0600

Repository: asterisk
Revision: 5602

U   trunk/pbx.c

------------------------------------------------------------------------
r5602 | markster | 2008-01-15 15:33:39 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix double unlock of hintlock (bug ASTERISK-4105)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5602

By: Digium Subversion (svnbot) 2008-01-15 15:33:56.000-0600

Repository: asterisk
Revision: 5622

U   branches/v1-0/pbx.c

------------------------------------------------------------------------
r5622 | russell | 2008-01-15 15:33:56 -0600 (Tue, 15 Jan 2008) | 2 lines

only unlock hintlock once (bug ASTERISK-4105)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5622