[asterisk-bugs] [Asterisk 0011675]: [patch] information stored before unlock, but not used

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 4 10:15:44 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11675 
====================================================================== 
Reported By:                flefoll
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11675
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-04-2008 02:16 CST
Last Modified:              01-04-2008 10:15 CST
====================================================================== 
Summary:                    [patch] information stored before unlock, but not
used
Description: 
Calls to pbx_builtin_setvar_helper() now are surrounded by pvt unlock/lock,
and pvt owner is stored in a new "owner" local variable before unlock, but
this variable is not used when calling pbx_builtin_setvar_helper().

I propose a patch in order to use "owner" local variable instead of
reading unlocked pvt.

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

---------------------------------------------------------------------- 
 svnbot - 01-04-08 10:15  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 96449

U   branches/1.4/channels/chan_zap.c

------------------------------------------------------------------------
r96449 | russell | 2008-01-04 10:15:42 -0600 (Fri, 04 Jan 2008) | 7 lines

Make use of the temporary channel pointer while the pvt is unlocked.

(closes issue http://bugs.digium.com/view.php?id=11675)
Reported by: flefoll
Patches:
      chan_zap.c.patch-store-owner-before-unlock uploaded by flefoll
(license 244)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-04-08 10:15  svnbot         Checkin                                      
01-04-08 10:15  svnbot         Note Added: 0076285                          
01-04-08 10:15  svnbot         Status                   new => assigned     
01-04-08 10:15  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list