From 55e1f42ca80726d964f3872468108587d7a8d54c Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 3 Oct 2021 21:25:37 +0200 Subject: [PATCH] check_policy_sanity(): Initialize last_policy --- qssb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qssb.h b/qssb.h index 81cc4af..94a40e6 100644 --- a/qssb.h +++ b/qssb.h @@ -980,7 +980,7 @@ static int check_policy_sanity(struct qssb_policy *policy) int i = 0; int last_match_all = -1; int match_all_policy = 0; - int last_policy; + int last_policy = 0; while(syscall_policy) { long *syscall;