------------------------------------------------------------ revno: 13120 revision-id: squid3@treenet.co.nz-20131111114353-3h9y9y3fichzudw7 parent: squid3@treenet.co.nz-20131111112423-h0547l66509f1ft5 committer: Amos Jeffries branch nick: trunk timestamp: Mon 2013-11-11 04:43:53 -0700 message: Fix uninitialized members in stub_HttpReply.cc Detected by Coverity Scan. Issue 740582. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20131111114353-3h9y9y3fichzudw7 # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: 7ce5ac9ed12ac92238266d9d8be643cfc91adbce # timestamp: 2013-11-11 12:00:13 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: squid3@treenet.co.nz-20131111112423-\ # h0547l66509f1ft5 # # Begin patch === modified file 'src/tests/stub_HttpReply.cc' --- src/tests/stub_HttpReply.cc 2013-03-18 04:55:51 +0000 +++ src/tests/stub_HttpReply.cc 2013-11-11 11:43:53 +0000 @@ -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