[asterisk-bugs] [Asterisk 0013807]: [patch] Missing mutex unlock on error inside local_call().

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 30 14:32:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13807 
====================================================================== 
Reported By:                eliel
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13807
Category:                   Channels/chan_local
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 152690 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-29 20:33 CDT
Last Modified:              2008-10-30 14:32 CDT
====================================================================== 
Summary:                    [patch] Missing mutex unlock on error inside
local_call().
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.

====================================================================== 

---------------------------------------------------------------------- 
 (0094428) svnbot (reporter) - 2008-10-30 14:32
 http://bugs.digium.com/view.php?id=13807#c94428 
---------------------------------------------------------------------- 
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 http://bugs.digium.com/view.php?id=13807)
 Reported by: eliel
 Patches: 
       chan_local.c.patch uploaded by eliel (license 64)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-30 14:32 svnbot         Checkin                                      
2008-10-30 14:32 svnbot         Note Added: 0094428                          
======================================================================




More information about the asterisk-bugs mailing list