Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nitro_enclaves: Fix race when accessing has_event flag
The `has_event` flag is set while holding the `enclave_info_mutex` mutex. Let's also hold the mutex while reading the flag to avoid races. Signed-off-by: Costin Lupu <[email protected]>
- Loading branch information