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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 29 08:52:13 CST 2009


The following issue has been UPDATED. 
====================================================================== 
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-29 08:52 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-29 08:52 andrew53       Summary                  FILTER function is not
working correctly (patch attached) => [patch] FILTER function is not working
correctly (patch attached)
======================================================================




More information about the asterisk-bugs mailing list