Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3564: Replace temporary_buffer_size with NULL in _get_attester_plugins() r=yentsanglee a=ryanhsu19 Replace `&temporary_buffer_size` in line 378 in `enclave/sgx/attester.c` with `NULL`. The value of `temporary_buffer_size` is already validated near line 360 where `oe_get_supported_attester_format_ids_ocall` is first called, which eventually calls `oe_sgx_get_supported_attester_format_ids` in `host/sgx/sgxquote.c` and does check against supplied buffer size. Fix openenclave#3500 . Signed-off-by: Ryan Hsu <[email protected]> Co-authored-by: Ryan Hsu <[email protected]>
- Loading branch information