linux/security/integrity/evm
Dinghao Liu ccf11dbaa0 evm: Fix memleak in init_desc
tmp_tfm is allocated, but not freed on subsequent kmalloc failure, which
leads to a memory leak.  Free tmp_tfm.

Fixes: d46eb36995 ("evm: crypto hash replaced by shash")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
[zohar@linux.ibm.com: formatted/reworded patch description]
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2021-01-13 07:22:12 -05:00
..
evm_crypto.c evm: Fix memleak in init_desc 2021-01-13 07:22:12 -05:00
evm_main.c evm: Check size of security.evm before using it 2020-09-15 13:47:42 -04:00
evm_posix_acl.c
evm_secfs.c evm: Fix RCU list related warnings 2020-05-07 21:36:32 -04:00
evm.h
Kconfig
Makefile