Closed AndreasFuchsTPM closed 2 years ago
These should be OPENSSL_free() https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2-tss-engine-common.c#L697 https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2tss-genkey.c#L407 https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2tss-genkey.c#L411
OPENSSL_free()
Also, there are a bunch of free() calls that should be Esys_Free() all over the project.
free()
Esys_Free()
These should be
OPENSSL_free()
https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2-tss-engine-common.c#L697 https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2tss-genkey.c#L407 https://github.com/tpm2-software/tpm2-tss-engine/blob/c0200843a13fc0d5e7a12e0200ce46859596c1ca/src/tpm2tss-genkey.c#L411Also, there are a bunch of
free()
calls that should beEsys_Free()
all over the project.