linux/security
wzt.wzt@gmail.com 246c3fb16b APPARMOR: Fix memory leak of alloc_namespace()
policy->name is a substring of policy->hname, if prefix is not NULL, it will
allocted strlen(prefix) + strlen(name) + 3 bytes to policy->hname in policy_init().
use kzfree(ns->base.name) will casue memory leak if alloc_namespace() failed.

Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
2010-11-11 07:36:18 +11:00
..
apparmor APPARMOR: Fix memory leak of alloc_namespace() 2010-11-11 07:36:18 +11:00
integrity/ima IMA: fix the ToMToU logic 2010-10-26 11:37:19 -07:00
keys Fix install_process_keyring error handling 2010-10-28 09:02:15 -07:00
selinux convert get_sb_single() users 2010-10-29 04:16:28 -04:00
smack convert get_sb_single() users 2010-10-29 04:16:28 -04:00
tomoyo fs: take dcache_lock inside __d_path 2010-10-25 21:26:12 -04:00
capability.c secmark: make secmark object handling generic 2010-10-21 10:12:48 +11:00
commoncap.c security: remove unused parameter from security_task_setscheduler() 2010-10-21 10:12:44 +11:00
device_cgroup.c
inode.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
Kconfig AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:34 +10:00
lsm_audit.c
Makefile AppArmor: Enable configuring and building of the AppArmor security module 2010-08-02 15:38:34 +10:00
min_addr.c
security.c Merge branch 'ima-memory-use-fixes' 2010-10-26 11:37:48 -07:00