[asterisk-bugs] [Asterisk 0015320]: CUT() returns empty string for fields other than the 1st

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 12 13:31:59 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15320 
====================================================================== 
Reported By:                chappell
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15320
Category:                   Functions/func_cut
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 200142 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-12 13:31 CDT
Last Modified:              2009-06-12 13:31 CDT
====================================================================== 
Summary:                    CUT() returns empty string for fields other than the
1st
Description: 
CUT() in 1.4.X works correctly.  In 1.6.X SVN it does not work due to an
off-by-one error in the code which advances the pointer to the start of the
range.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-12 13:31 chappell       New Issue                                    
2009-06-12 13:31 chappell       Status                   new => assigned     
2009-06-12 13:31 chappell       Assigned To               => tilghman        
2009-06-12 13:31 chappell       Asterisk Version          => SVN             
2009-06-12 13:31 chappell       Regression                => No              
2009-06-12 13:31 chappell       SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-06-12 13:31 chappell       SVN Revision (number only!) => 200142          
======================================================================




More information about the asterisk-bugs mailing list