Bug 41472 - UTF-encoding
Summary: UTF-encoding
Status: CLOSED DUPLICATE of bug 41462
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: Canonicalization (show other bugs)
Version: Java 1.3
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: XML Security Developers Mailing List
Keywords: PatchAvailable
Depends on:
Reported: 2007-01-26 02:00 UTC by Lijun Liao
Modified: 2007-09-19 12:25 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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.