android_kernel_motorola_sm6375/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Colin Ian King 825b8650dc EVM: fix memory leak of temporary buffer 'temp'
The allocation of 'temp' is not kfree'd and hence there is a memory
leak on each call of evm_read_xattrs.  Fix this by kfree'ing it
after copying data from it back to the user space buffer 'buf'.

Detected by CoverityScan, CID#1469386 ("Resource Leak")

Fixes: fa516b66a1 ("EVM: Allow runtime modification of the set of verified xattrs")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
2018-05-31 10:13:22 -04:00
..
apparmor + Features 2018-04-13 15:38:53 -07:00
integrity EVM: fix memory leak of temporary buffer 'temp' 2018-05-31 10:13:22 -04:00
keys dh key: get rid of stack allocated array for zeroes 2018-05-11 13:07:49 -07:00
loadpin
selinux selinux: provide socketpair callback 2018-05-04 12:48:54 -07:00
smack smack: provide socketpair callback 2018-05-04 12:48:54 -07:00
tomoyo
yama
commoncap.c commoncap: Handle memory allocation failure. 2018-04-10 19:17:41 -05:00
device_cgroup.c
inode.c
Kconfig
lsm_audit.c
Makefile
min_addr.c
security.c security: add hook for socketpair() 2018-05-04 12:48:54 -07:00