[asterisk-bugs] [Asterisk 0014011]: [patch] Incorrect jump to extension
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jan 22 09:13:35 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14011
======================================================================
Reported By: dveiga
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 14011
Category: Applications/General
Reproducibility: always
Severity: major
Priority: normal
Status: needs license
Asterisk Version: 1.6.1-beta3
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 160441
Request Review:
======================================================================
Date Submitted: 2008-12-02 20:46 CST
Last Modified: 2009-01-22 09:13 CST
======================================================================
Summary: [patch] Incorrect jump to extension
Description:
When calling Background() application, function pbx_builtin_background() is
called. Inside it, I believe there's a bug when comparing the channel
context with the one used as a parameter. Where it says "if (args.context
!= chan->context && res)" it should say "if ( strcmp(args.context,
chan->context) && res)".
I just explained it because in this simple case I think its easier than
sending a patch, but I can send the patch file if it helps.
======================================================================
----------------------------------------------------------------------
(0098432) svnbot (reporter) - 2009-01-22 09:13
http://bugs.digium.com/view.php?id=14011#c98432
----------------------------------------------------------------------
Repository: asterisk
Revision: 170050
U branches/1.4/main/pbx.c
------------------------------------------------------------------------
r170050 | file | 2009-01-22 09:13:34 -0600 (Thu, 22 Jan 2009) | 6 lines
Do a string comparison instead of pointer comparison since some people
specify the context they are actually in as an argument to get around some
funkiness.
(closes issue http://bugs.digium.com/view.php?id=14011)
Reported by: dveiga
Patches:
pbx.c.patch uploaded by dveiga (license 665)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=170050
Issue History
Date Modified Username Field Change
======================================================================
2009-01-22 09:13 svnbot Checkin
2009-01-22 09:13 svnbot Note Added: 0098432
======================================================================
More information about the asterisk-bugs
mailing list