Closed imlk0 closed 1 year ago
The quote_size is from outside the enclave. A malicious quote_size value would cause an out-of-bounds reading of data inside the enclave when call ocall_qe_get_quote(). Add this check to prevent this problem.
quote_size
ocall_qe_get_quote()
Signed-off-by: Kun Lai me@imlk.top
The
quote_size
is from outside the enclave. A maliciousquote_size
value would cause an out-of-bounds reading of data inside the enclave when callocall_qe_get_quote()
. Add this check to prevent this problem.Signed-off-by: Kun Lai me@imlk.top