check_policy_sanity(): Initialize last_policy

This commit is contained in:
Albert S. 2021-10-03 21:25:37 +02:00
parent 11d64c6fcf
commit 55e1f42ca8

2
qssb.h
View File

@ -980,7 +980,7 @@ static int check_policy_sanity(struct qssb_policy *policy)
int i = 0; int i = 0;
int last_match_all = -1; int last_match_all = -1;
int match_all_policy = 0; int match_all_policy = 0;
int last_policy; int last_policy = 0;
while(syscall_policy) while(syscall_policy)
{ {
long *syscall; long *syscall;