DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14379>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14379 [PATCH] Fix for ArrayIndexOutofBounds in util/BufferedOutputStream.java Summary: [PATCH] Fix for ArrayIndexOutofBounds in util/BufferedOutputStream.java Product: Cocoon 2 Version: Current CVS Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In the file util/BufferedOutputStream.java if space is needed in the buffer it doubles the size of the current buffer. This does not guarantee that the buffer is large enough to handle the new bytes in the "write(byte b[], int off, int len)" method. An exception will result. This patch keeps increasing the buffer until it is large enough. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]