mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-11-05 07:10:37 +01:00
When pctx is allocated using EVP_MD_CTX_new() it should be freed.
Found with ASan.
Fixes: 81010f0 ("ima-evm-utils: Add backward compatible support for openssl 1.1")
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
21 KiB
21 KiB