httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24387] New: - convert_from_ucs()
Date Tue, 04 Nov 2003 14:20:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24387>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24387

convert_from_ucs()

           Summary: convert_from_ucs()
           Product: APR
           Version: 0.9.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: APR-util
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: emild@cs.technion.ac.il


There is a problem in the current implementation of apr_iconv() when converting 
from ucs-2. The problem is located in the

convert_from_ucs

function from the 

apr-iconv-0.9.4/ces/iso-10646-ucs-2.c

file. The problem is that this function will prepend the 0xFE,0xFF prefix to 
the output buffer if the current state is not zero, while the intent was 
exactly the opposite. This causes the output to be garbled.

I will attach a patch which fixes the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message