Dinghao Liu
494e9ec12c
evm: Fix memleak in init_desc
[ Upstream commit ccf11dbaa0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:40 +01:00
..
2020-08-23 17:36:59 -05:00
2020-08-25 15:00:04 -07:00
2021-03-04 11:37:40 +01:00
2020-10-17 15:05:30 -06:00
2020-10-05 13:37:03 +02:00
2020-06-02 17:36:24 -07:00
2020-10-13 09:17:36 -07:00
2020-12-30 11:53:03 +01:00
2020-12-30 11:54:02 +01:00
2020-10-12 19:53:34 +09:00
2020-10-17 15:05:30 -06:00
2021-02-17 11:02:22 +01:00
2020-08-20 11:25:03 -07:00
2020-08-06 12:00:05 -07:00
2020-06-16 02:06:23 -07:00
2021-01-19 18:27:29 +01:00
2020-04-13 14:41:54 -04:00
2020-04-27 02:07:40 -04:00
2020-10-05 13:37:03 +02:00