Commit 44fbeeb3 authored by Colin Ian King's avatar Colin Ian King Committed by John Johansen
Browse files

apparmor: Fix incorrect profile->signal range check



The check on profile->signal is always false, the value can never be
less than 1 *and* greater than MAXMAPPED_SIG. Fix this by replacing
the logical operator && with ||.

Fixes: 84c455de ("apparmor: add support for profiles to define the kill signal")
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent e9ed1eb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment