From ab93c858d3a208fa3de9605dc8e4b58e4c7b39cb Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Wed, 3 Sep 2014 15:03:05 -0700 Subject: [PATCH] parser: initialize perms in unix_rule constructor Signed-off-by: Steve Beattie Acked-by: Seth Arnold --- parser/af_unix.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parser/af_unix.cc b/parser/af_unix.cc index f4a69bd39..34b93a4e3 100644 --- a/parser/af_unix.cc +++ b/parser/af_unix.cc @@ -105,7 +105,8 @@ unix_rule::unix_rule(unsigned int type_p, bool audit_p, bool denied): unix_rule::unix_rule(int mode_p, struct cond_entry *conds, struct cond_entry *peer_conds): - af_rule("unix"), addr(NULL), peer_addr(NULL) + af_rule("unix"), addr(NULL), peer_addr(NULL), + audit(0), deny(0) { move_conditionals(conds); move_peer_conditionals(peer_conds);