tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51124] ArrayIndexOutOfBoundsException after setting org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
Date Wed, 04 May 2011 19:53:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51124

--- Comment #4 from Mark Thomas <markt@apache.org> 2011-05-04 19:53:39 UTC ---
Hmm. Looking at case 2 above, I don't see any way for that to happen unless
bufferSize > cb.length. As far as I can see, these are always changed in sync.
That leads me to think that there is an OOME that is being missed for some
reason.

While I agree 100% with Rainer that once an OOME occurs, all bets are off, I
think that having this patch in 7.0.x will at least allow us to determine if
the root cause is an OOME or something else.

I have applied a variation of the patch suggested in comment 2 to Tomcat 7.0.x
which will be included in 7.0.13 onwards. The patch won't get back-ported to
6.0.x until there is some evidence that it useful. Please test your application
with 7.0.13 once released. and let us know how you get on.

If an upgrade to 7.0.13 is not possible, we could provide a binary patch for
6.0.32 *purely for testing purposes*. Let us know if you want to go that route.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message