commit | 3091c2d61701b93e73085d1fc3e05c47eec2c20d | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Fri Feb 23 17:37:55 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 23 17:37:55 2024 |
tree | 4d4043ab6340befbef76b96b1ff373ee4244a65c | |
parent | 024258b637196aadd03986d92b8cbdd67a854a99 [diff] |
webauthn: serialise EnclaveManager state at the right time. If `WriteState` was called while a write was already in progress, the code would set a flag and start a new write once the current one completed. But that would mean that it would grab the state when the write completed, rather than the state at the time at the write was requested. That should be fine, but it's a bit of non-determinism that feels a little sharp, so change it to always capture the state at the time that `WriteState` was called. Change-Id: Ie31da1f6a26bbd6b4810b63e6c1b2a8276b21fef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5310034 Reviewed-by: Ken Buchanan <kenrb@chromium.org> Commit-Queue: Adam Langley <agl@chromium.org> Cr-Commit-Position: refs/heads/main@{#1264618}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.