Bernard Zhao
eb599bf3ba
selinux: fix potential memleak in selinux_add_opt()
[ Upstream commit 2e08df3c7c4e4e74e3dd5104c100f0bf6288aaa8 ]
This patch try to fix potential memleak in error branch.
Fixes: ba64186233 ("selinux: new helper - selinux_add_opt()")
Signed-off-by: Bernard Zhao <bernard@vivo.com>
[PM: tweak the subject line, add Fixes tag]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
2022-01-27 09:19:35 +01:00 |
| .. |
|
apparmor
|
apparmor: fix error check
|
2021-11-17 09:48:44 +01:00 |
|
integrity
|
evm: mark evm_fixmode as __ro_after_init
|
2021-11-17 09:48:23 +01:00 |
|
keys
|
KEYS: trusted: Fix migratable=1 failing
|
2021-03-04 10:26:44 +01:00 |
|
loadpin
|
|
|
|
lockdown
|
|
|
|
safesetid
|
|
|
|
selinux
|
selinux: fix potential memleak in selinux_add_opt()
|
2022-01-27 09:19:35 +01:00 |
|
smack
|
smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
|
2021-11-17 09:48:39 +01:00 |
|
tomoyo
|
tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
|
2022-01-05 12:37:43 +01:00 |
|
yama
|
|
|
|
commoncap.c
|
security: commoncap: fix -Wstringop-overread warning
|
2021-05-11 14:04:16 +02:00 |
|
device_cgroup.c
|
device_cgroup: Fix RCU list debugging warning
|
2020-10-01 13:18:13 +02:00 |
|
inode.c
|
|
|
|
Kconfig
|
fortify: Explicitly disable Clang support
|
2021-11-21 13:38:50 +01:00 |
|
Kconfig.hardening
|
|
|
|
lsm_audit.c
|
dump_common_audit_data(): fix racy accesses to ->d_name
|
2021-01-19 18:26:16 +01:00 |
|
Makefile
|
|
|
|
min_addr.c
|
|
|
|
security.c
|
binder: use cred instead of task for selinux checks
|
2021-11-17 09:48:16 +01:00 |