From: hno <> Date: Tue, 21 Dec 2004 03:15:27 +0000 (+0000) Subject: Bug #1042: ssl buffer overrun if delay pools disabled X-Git-Tag: SQUID_3_0_PRE4~968 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b13136a7e667e3f6e1abc017180654d0f8e2a97;p=thirdparty%2Fsquid.git Bug #1042: ssl buffer overrun if delay pools disabled --- diff --git a/src/tunnel.cc b/src/tunnel.cc index c1c5901dd7..ecb3019c17 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -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 }