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

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


The following issue has been SUBMITTED. 
====================================================================== 
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:51 CST
====================================================================== 
Summary:                    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:51 andrew53       New Issue                                    
2009-01-29 08:51 andrew53       Asterisk Version          => SVN             
2009-01-29 08:51 andrew53       Regression                => No              
2009-01-29 08:51 andrew53       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2009-01-29 08:51 andrew53       SVN Revision (number only!) => 172099          
======================================================================




More information about the asterisk-bugs mailing list