commit | a8d2177979c2eb2aa485ca0f82ddb59c4a8d55da | [log] [tgz] |
---|---|---|
author | Ching-Kang Yen <chingkang@google.com> | Tue Jun 01 15:13:11 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 01 15:13:11 2021 |
tree | 7b0ca1fa3ccb45dcc9b817fdada6b6d0e0ec9d79 | |
parent | 98bc549f3eedf21c651bd7d583501329b27a322e [diff] |
Prevent AttestaionFlowAdaptive from lack of ServerProxy When the GetCerificate() get called twice, the AttestationFlowAdaptive will crash because the ownership of server_proxy_ was moved to its member, but the CheckType() still require the server_proxy_. Add the raw_server_proxy_ to save the raw pointer of server_proxy_, so that we are not worried about lack of ownership. BUG=b:158532239, chromium:1175165 TEST=unittest Change-Id: I79f4904322a56c2f34db45d4167a0b07da410233 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902163 Commit-Queue: Ching-Kang Yen <chingkang@chromium.org> Reviewed-by: Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#887976}
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.