]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1042: ssl buffer overrun if delay pools disabled
authorhno <>
Tue, 21 Dec 2004 03:15:27 +0000 (03:15 +0000)
committerhno <>
Tue, 21 Dec 2004 03:15:27 +0000 (03:15 +0000)
src/tunnel.cc

index c1c5901dd741452df3b37e00ba55c19c7fe5e785..ecb3019c171b51ad3120c05c507c6e579d561bc1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tunnel.cc,v 1.146 2003/09/21 00:30:47 robertc Exp $
+ * $Id: tunnel.cc,v 1.147 2004/12/20 20:15:27 hno Exp $
  *
  * DEBUG: section 26    Secure Sockets Layer Proxy
  * AUTHOR: Duane Wessels
@@ -173,7 +173,7 @@ SslStateData::Connection::bytesWanted(int lowerbound, int upperbound) const
     return delayId.bytesWanted(lowerbound, upperbound);
 #else
 
-    return INT_MAX;
+    return upperbound;
 #endif
 }