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 51142] Offer possible resolution of StringIndexOutOfBoundsException in Request.updateCounters when AJP packetSize is too small.
Date Fri, 03 Jun 2011 22:35:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51142

--- Comment #4 from Mark Thomas <markt@apache.org> 2011-06-03 22:35:11 UTC ---
No, you missed the key point in my review comment. Putting a try/catch around
the point where the error is first seen is the wrong approach. The right
approach is detecting when the packet length > buffer length and taking the
appropriate action at that point (500 response, log message etc.)

-- 
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