You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2015/12/07 14:47:11 UTC
[jira] [Closed] (SANTUARIO-431) Invalid return value of
getTextCharacters(...)
[ https://issues.apache.org/jira/browse/SANTUARIO-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed SANTUARIO-431.
-----------------------------------------
> Invalid return value of getTextCharacters(...)
> ----------------------------------------------
>
> Key: SANTUARIO-431
> URL: https://issues.apache.org/jira/browse/SANTUARIO-431
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 2.0.5
> Environment: Windows 7, JDK 1.7,
> Reporter: sit
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: Java 2.0.6
>
> Attachments: char_histogram.jpg, char_paths.jpg, char_reference.jpg
>
>
> In case of CHARACTERS event, the
> int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
> return value is incorrect, if the sourceStart given is > 0.
> It returns "sourceStart + length" instead of "length".
> XMLSecurityStreamReader: line 462.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)