Thread (2 messages) 2 messages, 2 authors, 2021-01-13

Re: [PATCH] [v2] evm: Fix memleak in init_desc

From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2021-01-13 15:17:40
Also in: linux-security-module, lkml

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 <redacted>
This patch is now queued, with an updated patch description, in next-
integrity-testing.

thanks,

Mimi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help