]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix uninitialized members in stub_HttpReply.cc
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Nov 2013 11:43:53 +0000 (04:43 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 11 Nov 2013 11:43:53 +0000 (04:43 -0700)
  Detected by Coverity Scan. Issue 740582.

src/tests/stub_HttpReply.cc

index a361b8d64e8a93fb2041acc3f8eb9cedf54684b3..60f022950b11fc376d186cf0651cb564b47c5f04 100644 (file)
@@ -6,7 +6,7 @@
 
 HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0),
         expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0),
-        protoPrefix("HTTP/"), bodySizeMax(-2)
+        protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2)
         STUB_NOP
         HttpReply::~HttpReply() STUB
         void HttpReply::setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires_) STUB