android_kernel_xiaomi_sm8350/security/selinux
James Morris 314dabb83a SELinux: fix memory leakage in /security/selinux/hooks.c
Fix memory leakage in /security/selinux/hooks.c

The buffer always needs to be freed here; we either error
out or allocate more memory.

Reported-by: iceberg <strakh@ispras.ru>
Signed-off-by: James Morris <jmorris@namei.org>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
2009-08-11 08:37:13 +10:00
..
include SELinux: move SELINUX_MAGIC into magic.h 2009-05-19 08:19:00 +10:00
ss
avc.c
exports.c
hooks.c SELinux: fix memory leakage in /security/selinux/hooks.c 2009-08-11 08:37:13 +10:00
Kconfig
Makefile
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c SELinux: define audit permissions for audit tree netlink messages 2009-06-03 07:44:53 +10:00
selinuxfs.c selinux: remove obsolete read buffer limit from sel_read_bool 2009-05-19 23:56:11 +10:00
xfrm.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00