Messages in this thread | | | Subject | Re: [PATCH] [v2] evm: Fix memleak in init_desc | From | Mimi Zohar <> | Date | Wed, 13 Jan 2021 10:16:30 -0500 |
| |
Hi Dinghao,
On Sun, 2021-01-10 at 16:02 +0800, Dinghao Liu wrote: > When kmalloc() fails, tmp_tfm allocated by > crypto_alloc_shash() has not been freed, which > leads to memleak. > > Fixes: d46eb3699502b ("evm: crypto hash replaced by shash") > Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
This patch is now queued, with an updated patch description, in next- integrity-testing.
thanks,
Mimi
| |