analyze-security: do not assign badness to filtered-out syscalls

Fixes #16451, https://bugzilla.redhat.com/show_bug.cgi?id=1856273.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-08-01 11:28:09 +02:00
parent c2cfb12641
commit 01ecb3674a

View file

@ -566,7 +566,7 @@ static int assess_system_call_filter(
b = 10;
} else {
(void) asprintf(&d, "System call deny list defined for service, and %s is included", f->name);
b = 5;
b = 0;
}
}
}