Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

Borislav Petkov
2020-06-26T14:20:29Z

On Fri, Jun 26, 2020 at 07:16:27AM -0700, Sean Christopherson wrote:
> That being said, I agree that it would be safer to move sgx_calc_ssaframesize()
> inside sgx_validate_secs() and only compute encl_size after the secs is
> validated.

Yap, that would be the right thing to do.

--
Regards/Gruss,
Boris.