You need to sign in or sign up before continuing.
-
由 Jianglei Nie 提交于
On failure to allocate the SHA1 tfm, IMA fails to initialize and exits without freeing the ima_algo_array. Add the missing kfree() for ima_algo_array to avoid the potential memory leak. Signed-off-by: NJianglei Nie <niejianglei2021@163.com> Fixes: 6d94809a ("ima: Allocate and initialize tfm for each PCR bank") Signed-off-by: NMimi Zohar <zohar@linux.ibm.com>
067d2521