Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On update_persistent_object_attributes failure, head_new (stored in obj->attributes) is not freed, causing a memory leak. Reported-by: Christian Zoia <czoia@amazon.es> Closes: OP-TEE#7023 Fixes: 6959626 ("ta: pkcs11: preserve object when set attribute fails") Signed-off-by: Georges Savoundararadj <savoundg@amazon.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
- Loading branch information