Skip to content
Commit 42a2df3e authored by Dan Carpenter's avatar Dan Carpenter Committed by Casey Schaufler
Browse files

Smack: prevent underflow in smk_set_cipso()



We have an upper bound on "maplevel" but forgot to check for negative
values.

Fixes: e114e473 ("Smack: Simplified Mandatory Access Control Kernel")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent a6bd4f6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment