Bug 41472

Summary: UTF-encoding
Product: Security - Now in JIRA Reporter: Lijun Liao <lijun.liao>
Component: CanonicalizationAssignee: XML Security Developers Mailing List <security-dev>
Status: CLOSED DUPLICATE    
Severity: major Keywords: PatchAvailable
Priority: P2    
Version: Java 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Lijun Liao 2007-01-26 02:00:42 UTC
In org.apache.xml.security.c14n.implementations.CanonicalizerBase and
org.apache.xml.security.c14n.implementations.UtfHelpper (How about if the class
name if changed to UtfHelper with ONE p?):
The line if ((c & 0x80) ==0)  should be changed to if(c < 0x80), since the most
UTF-chars have 0 at bit 8.
Comment 1 Raul Benito 2007-03-09 06:03:45 UTC

*** This bug has been marked as a duplicate of 41462 ***
Comment 2 sean.mullan 2007-09-19 12:25:10 UTC
Closing old bugs.