Index: sandbox/linux/seccomp-bpf/sandbox_bpf.h |
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf.h b/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
index d97aeaf21e06fc7decc7c175f454176437834d70..3696668661f7e4683e30a154dfa059c917a80c4e 100644 |
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf.h |
@@ -176,7 +176,10 @@ class Sandbox { |
// field. |
// This is not only quiet efficient, it also makes the API really easy to |
// use. |
- ErrorCode(int err = SB_INVALID) { |
+ ErrorCode(int err = SB_INVALID) |
+ : id_(0), |
+ fnc_(NULL), |
+ aux_(NULL) { |
switch (err) { |
case SB_INVALID: |
err_ = SECCOMP_RET_INVALID; |