[ http://issues.apache.org/jira/browse/XALANJ-1882?page=all ]
Brian Minchau updated XALANJ-1882:
----------------------------------
Fix Version: 2.7
> ArrayIndexOutOfBoundsException from integer overflow in
> WriterToUTF8Buffered#write()
> ------------------------------------------------------------------------------------
>
> Key: XALANJ-1882
> URL: http://issues.apache.org/jira/browse/XALANJ-1882
> Project: XalanJ2
> Type: Bug
> Components: Serialization
> Versions: 2.6
> Environment: Operating System: All
> Platform: All
> Reporter: J Desrochers
> Assignee: Xalan Developers Mailing List
> Fix For: 2.7
> Attachments: WriterToUTF8Buffered.patch
>
> The rework to chunk buffers of data in the write(char [], int, int)
> method can lead to an integer overflow in the computation of the end_chunk
> then start_chunk variables. When the latter value becomes negative it
> leads to an illegal array reference into the chars array. With the numbers
> in play a data block of 4MB can lead to this situation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]