android_kernel_motorola_sm6375/security/smack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 43f0c2bb16 smackfs: Prevent underflow in smk_set_cipso()
[ Upstream commit 3ad49d37cf5759c3b8b68d02e3563f633d9c1aee ]

There is a upper bound to "catlen" but no lower bound to prevent
negatives.  I don't see that this necessarily causes a problem but we
may as well be safe.

Fixes: e114e47377 ("Smack: Simplified Mandatory Access Control Kernel")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-09-23 10:59:46 +02:00
..
Kconfig
Makefile
smack.h
smack_access.c
smack_lsm.c Fix incorrect type in assignment of ipv6 port for audit 2022-04-15 14:18:22 +02:00
smack_netfilter.c
smackfs.c smackfs: Prevent underflow in smk_set_cipso() 2023-09-23 10:59:46 +02:00