You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "sit (JIRA)" <ji...@apache.org> on 2015/10/14 14:11:05 UTC

[jira] [Created] (SANTUARIO-431) Invalid return value of getTextCharacters(...)

sit created SANTUARIO-431:
-----------------------------

             Summary: 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


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)