kernel-fxtec-pro1x/security/smack
Dan Carpenter adef6d2d51 Smack: prevent underflow in smk_set_cipso()
[ Upstream commit 42a2df3e829f3c5562090391b33714b2e2e5ad4a ]

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

Fixes: e114e47377 ("Smack: Simplified Mandatory Access Control Kernel")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:14:59 +02:00
..
Kconfig
Makefile
smack.h
smack_access.c
smack_lsm.c
smack_netfilter.c
smackfs.c Smack: prevent underflow in smk_set_cipso() 2020-08-19 08:14:59 +02:00