commit | e681b6e30edd8872c97cdd9e713f9f97ca519346 | [log] [tgz] |
---|---|---|
author | Ryan Sturm <ryansturm@chromium.org> | Thu Jun 16 19:31:04 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 16 19:31:04 2022 |
tree | 6a68f5cd90462992862b8d604f97b0fa0667451e | |
parent | eb5de7b1e14babd09622b7da4c8ce0afaf8b4b7d [diff] |
[Fix it] Removing profile raw ptr from mojo lifetime prefetch objects This CL replaces some raw ptrs to Profile with weak ptrs or scoped ref ptrs to the relevant objects that profile was used to get. Since these objects are managed via mojo there is a time gap where using a profile raw pointer can UAF during/after profile shutdown. Bug: 1336622 Change-Id: I1bd3fec618d9f1f5225c1e8efb5c3a4e6d30bfab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3709539 Reviewed-by: Max Curran <curranmax@chromium.org> Commit-Queue: Ryan Sturm <ryansturm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1015041}
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.