[asterisk-bugs] [Asterisk 0015303]: new_find_extension arguments in wrong order
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jun 10 15:29:54 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15303
======================================================================
Reported By: JimDickenson
Assigned To: dbrooks
======================================================================
Project: Asterisk
Issue ID: 15303
Category: Core/PBX
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.0.9
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-06-09 16:21 CDT
Last Modified: 2009-06-10 15:29 CDT
======================================================================
Summary: new_find_extension arguments in wrong order
Description:
The prototype and all calls to new_find_extension have callerid then label
but the function definition has the arguments as label then callerid.
Clearly in the wrong order. The problem is on line 1218 of main/pbx.c of
1.6.0.9 code. Still a problem in current svn code.
======================================================================
----------------------------------------------------------------------
(0106265) svnbot (reporter) - 2009-06-10 15:29
https://issues.asterisk.org/view.php?id=15303#c106265
----------------------------------------------------------------------
Repository: asterisk
Revision: 199994
_U branches/1.6.0/
U branches/1.6.0/main/pbx.c
------------------------------------------------------------------------
r199994 | dbrooks | 2009-06-10 15:29:53 -0500 (Wed, 10 Jun 2009) | 10
lines
Fixes the argument order in definition of new_find_extension().
In the definition of new_find_extension(), the arguments 'callerid' and
'label' were swapped. The prototype declaration and all calls to the
function are ordered 'callerid' then 'label', but the function itself
was ordered 'label' then 'callerid'.
(closes issue https://issues.asterisk.org/view.php?id=15303)
Reported by: JimDickenson
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=199994
Issue History
Date Modified Username Field Change
======================================================================
2009-06-10 15:29 svnbot Checkin
2009-06-10 15:29 svnbot Note Added: 0106265
======================================================================
More information about the asterisk-bugs
mailing list