From: Amos Jeffries Date: Tue, 23 Sep 2014 05:32:41 +0000 (-0700) Subject: Fix missing flag initialization in rev.13570 X-Git-Tag: SQUID_3_5_0_1~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab76e66140ca93632fab1ffb4611cf303462c482;p=thirdparty%2Fsquid.git Fix missing flag initialization in rev.13570 This missing flag can cause traffic rejection on some systems if the flag memory is left at 1 when initialized. Detected by Coverity Scan. Issue CID 1239292. --- diff --git a/src/anyp/TrafficMode.h b/src/anyp/TrafficMode.h index 8e8b26607b..f5c4e56c00 100644 --- a/src/anyp/TrafficMode.h +++ b/src/anyp/TrafficMode.h @@ -21,7 +21,7 @@ namespace AnyP class TrafficMode { public: - TrafficMode() : accelSurrogate(false), natIntercept(false), tproxyIntercept(false), tunnelSslBumping(false) {} + TrafficMode() : accelSurrogate(false), proxySurrogate(false), natIntercept(false), tproxyIntercept(false), tunnelSslBumping(false) {} TrafficMode(const TrafficMode &rhs) { operator =(rhs); } TrafficMode &operator =(const TrafficMode &rhs) { memcpy(this, &rhs, sizeof(TrafficMode)); return *this; }