[asterisk-bugs] [Asterisk 0014363]: [patch] FILTER function is not working correctly (patch attached)

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jan 31 08:19:43 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14363 
====================================================================== 
Reported By:                andrew53
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14363
Category:                   Functions/func_strings
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 172099 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-29 08:51 CST
Last Modified:              2009-01-31 08:19 CST
====================================================================== 
Summary:                    [patch] FILTER function is not working correctly
(patch attached)
Description: 
When the "filter" function loops through "allowed" characters, the pointer
is incremented twice in each iteration, which results in skipping every
other "allowed" character (unless character ranges are used, in which case
the result is also wrong but less predictable.
====================================================================== 

---------------------------------------------------------------------- 
 (0099181) amorsen (reporter) - 2009-01-31 08:19
 http://bugs.digium.com/view.php?id=14363#c99181 
---------------------------------------------------------------------- 
Thanks for reporting this bug andrew53, I thought I was going crazy. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-31 08:19 amorsen        Note Added: 0099181                          
======================================================================




More information about the asterisk-bugs mailing list