[asterisk-bugs] [Asterisk 0010982]: ASCII Chars >127 not handled correctly if put at the begin or the end of the config item

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 15 11:10:51 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10982 
====================================================================== 
Reported By:                dandre
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10982
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-15-2007 08:29 CDT
Last Modified:              10-15-2007 11:10 CDT
====================================================================== 
Summary:                    ASCII Chars >127 not handled correctly if put at the
begin or the end of the config item
Description: 
if a char > 127 is put at the begin or the end of a configuration item, for
instance like :
fullname = Daniel André

then this char is silently removed by ast_skip_blanks or ast_trim_blanks
as it is allways considered < 33 because it is declared as char.

I would consider putting unsigned char instead of char in those two
functions.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-15-07 11:10  russell        Status                   new => assigned     
10-15-07 11:10  russell        Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list