commit | eb639ff12768d77c136bb138c998f23911b202af | [log] [tgz] |
---|---|---|
author | Tim Sergeant <tsergeant@chromium.org> | Thu Jul 27 02:36:45 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 27 02:36:45 2023 |
tree | a6e5b0056f887c3d7385b7c2be7668ef30d6fed0 | |
parent | ca30db5353e9052a45f8b58f739cfd5057be8284 [diff] |
App Management: Remove PreferredAppsList reference to avoid UAF in tests App Management uses the PreferredAppsList from App Service to listen to and modify preferred apps settings. In Lacros tests which use a real Ash process, App Service is reset between tests, and so the stored reference to PreferredAppsList can become invalid when App Service restarts. As a simple fix, we change App Management to read the PreferredAppsList from App Service every time it is needed. Note that I haven't been able to reliably figure out which Lacros test is starting App Management, it seems like it might be flaky, which is in itself a bit worrying. Bug: 1466885 Change-Id: I16e8dce9ac814e7837e17b074a328cc13c9f1a5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4721909 Commit-Queue: Tim Sergeant <tsergeant@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/main@{#1175821}
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.