From ab76e66140ca93632fab1ffb4611cf303462c482 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 22 Sep 2014 22:32:41 -0700 Subject: [PATCH] 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. --- src/anyp/TrafficMode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2