From: Christos Tsantilas Date: Wed, 3 Jun 2015 17:24:41 +0000 (+0300) Subject: Wrong intialization value for clientReplyContext::headers_sz member X-Git-Tag: merge-candidate-3-v1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67969886b39140538e41e1364a0f8235502096c7;p=thirdparty%2Fsquid.git Wrong intialization value for clientReplyContext::headers_sz member The clientReplyContext::headers_sz member after the trunk patch r14078 initialized to wrong value. In many cases inside clientReplyContext class this is considered as initialized to "0" and setting to "-1" can cause problems. This is a Measurement Factory project --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 3b35fbd779..9a38472c65 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -77,7 +77,7 @@ clientReplyContext::clientReplyContext(ClientHttpRequest *clientContext) : purgeStatus(Http::scNone), lookingforstore(0), http(cbdataReference(clientContext)), - headers_sz(-1), + headers_sz(0), sc(NULL), old_reqsize(0), reqsize(0),