commit | b44d5d160d3e9b4cf7cfde332f9f3d3d9f074a79 | [log] [tgz] |
---|---|---|
author | Andy Paicu <andypaicu@chromium.org> | Thu Nov 09 18:07:25 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 09 18:07:25 2023 |
tree | e39ae9320a45212774509c00f6e536996e29b217 | |
parent | 8d74154ca71cca191bbe27632d4a62c4ac0fb162 [diff] |
Fix UAF in EmbeddedPermissionPrompt by using a ViewTracker A ViewTracker ensures we never risk using the view after it's free. At worst we'll cause a null segmentation fault if we don't null check. Also do the same in the legacy prompt bubble which also uses a raw pointer. Bug: 1492385 Change-Id: Iff50d68724731bbb352e0c8ec8b92880ea6df19f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5012814 Commit-Queue: Andy Paicu <andypaicu@chromium.org> Reviewed-by: Thomas Nguyen <tungnh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1222395}
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.