Fixed that one :-)

---
jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectorR
equest.java.orig        Wed Nov 15 00:04:02 2000
+++
jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectorR
equest.java     Wed Nov 15 00:04:32 2000
@@ -249,7 +249,7 @@
     
     public int doRead() throws IOException 
     {
-        if(pos > blen) {
+        if(pos >= blen) {
             refeelReadBuffer();
         }
         return bodyBuff[pos++];

Thanks to kenneth topp <[EMAIL PROTECTED]> for providing
an example which allow me to replay the game

Thanks to apply this to both 3.2 and 3.3 branch (same ajp code). 
Also in TC 3.3 apply the same modification to
org.apache.tomcat.modules.server.Ajp13 :

@@ -300,7 +300,7 @@

    public int doRead() throws IOException 
    {
-        if(pos > blen) {
+        if(pos >= blen) {
            refeelReadBuffer();
        }
        return bodyBuff[pos++];

    
Two bugs less in TC ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to