Thread (2 messages) 2 messages, 2 authors, 2022-11-16

Re: [PATCH v2] integrity: Fix memory leakage in keyring allocation error path

From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2022-11-16 16:55:42
Also in: linux-integrity, lkml

On Fri, 2022-11-11 at 18:13 +0800, GUO Zihua wrote:
Key restriction is alloced in integrity_init_keyring(). However, if
keyring allocation failed, it is not freed, causing memory leaks.

Fixes: 2b6aa412ff23 ("KEYS: Use structure to capture key restriction function and data")
Signed-off-by: GUO Zihua <redacted>
Thanks, applied.

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