[Home]

Summary:ASTERISK-12987: [patch] Missing mutex unlock on error inside local_call().
Reporter:Eliel Sardanons (eliel)Labels:
Date Opened:2008-10-29 20:33:26Date Closed:2008-10-30 14:32:45
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_local.c.patch
Description:If we don't find the context or extension in local_call() we give up with a message error but we need to unlock local_pvt before returning.


****** ADDITIONAL INFORMATION ******

What I don't know if it is necessary to lock local_pvt.
Comments:By: Digium Subversion (svnbot) 2008-10-30 14:32:43

Repository: asterisk
Revision: 152922

U   branches/1.4/channels/chan_local.c

------------------------------------------------------------------------
r152922 | tilghman | 2008-10-30 14:32:42 -0500 (Thu, 30 Oct 2008) | 6 lines

Unlock before returning, when extension doesn't exist.
(closes issue ASTERISK-12987)
Reported by: eliel
Patches:
      chan_local.c.patch uploaded by eliel (license 64)

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

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