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=22557>. 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=22557 No reallocation in org.apache.jasper.runtime.BodyContentImpl.write(int) Summary: No reallocation in org.apache.jasper.runtime.BodyContentImpl.write(int) Product: Tomcat 5 Version: 5.0.7 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In org.apache.jasper.runtime.BodyContentImpl.write(int) if we are at the end of the buffer (nextChar = bufferSize), the reallocation do nothing. And so we have an ArrayIndexOutOfBoundsException StackTrace: java.lang.ArrayIndexOutOfBoundsException: 7680 at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:111) Patch: On line (109) replace "reAllocBuff (0);" by "reAllocBuff (1);" to really realloc ate the buffer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]