[ 
https://issues.apache.org/jira/browse/XERCESJ-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serhiy Palamarchuk updated XERCESJ-1655:
----------------------------------------
    Attachment: fix.diff

> UTF8Reader buffer overflow due to incorrect total
> -------------------------------------------------
>
>                 Key: XERCESJ-1655
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1655
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: SAX
>    Affects Versions: 2.10.0
>            Reporter: Serhiy Palamarchuk
>         Attachments: fix.diff
>
>
> UTF8Reader buffer overflow with exception ArrayIndexOutOfBoundsException: 
> 2048 appears when surrogate is cached and next read count is less than buffer 
> size.
> See attached patch with test to get better understanding of preconditions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to