[asterisk-bugs] [Asterisk 0010720]: [patch] Code for USERUSERINFO support may create a global variable instead of a channel variable
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Sep 14 12:29:25 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=10720
======================================================================
Reported By: flefoll
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 10720
Category: Channels/chan_zap
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 82329
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-14-2007 07:21 CDT
Last Modified: 09-14-2007 12:29 CDT
======================================================================
Summary: [patch] Code for USERUSERINFO support may create a
global variable instead of a channel variable
Description:
When SUPPORT_USERUSER is defined, pri_dchannel() may create a global
USERUSERINFO variable instead of a channel variable upon reception of
PRI_EVENT_HANGUP :
when pbx_builtin_setvar_helper() is called, first parameter
pri->pvts[chanpos]->owner may be null (maybe it event always is ?).
======================================================================
----------------------------------------------------------------------
svnbot - 09-14-07 12:29
----------------------------------------------------------------------
Repository: asterisk
Revision: 82394
------------------------------------------------------------------------
r82394 | qwell | 2007-09-14 12:29:24 -0500 (Fri, 14 Sep 2007) | 5 lines
If a channel does not have an owner, do not try to set a channel variable.
This will end up making the channel variable global, which is not right.
Closes issue http://bugs.digium.com/view.php?id=10720, patch by flefoll.
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
09-14-07 12:29 svnbot Checkin
09-14-07 12:29 svnbot Note Added: 0070552
09-14-07 12:29 svnbot Status new => assigned
09-14-07 12:29 svnbot Assigned To => qwell
======================================================================
More information about the asterisk-bugs
mailing list