Serhiy Palamarchuk created XERCESJ-1655: -------------------------------------------
Summary: 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 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