On Wed, Aug 07, 2019 at 05:12:51PM -0700, Sean Christopherson wrote: > Fix a bug where sgx_encl_create() incorrectly frees the enclave's SECS > and backing storage when the enclave has already been created. Freeing > the structures leads to various forms of faults due to dereferencing > null pointers. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Good catch, thanks! Acked-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko