-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
App Service: Do not use a self-owned receiver on AppServiceInternals
App Service Internals uses a self-owned mojo receiver for communication from the WebUI page. This means that the handler can live longer than the Profile, which causes a UAF if any of the handler methods are called after the Profile is freed. Instead, this switches to use a Receiver owned by the WebUI, which matches the behavior of other WebUIs. Bug: 1323236 Change-Id: Ibd41db24f98ed428d7324379a129e8d86ba38ccb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3637239 Auto-Submit: Tim Sergeant <tsergeant@chromium.org> Reviewed-by: Christopher Lam <calamity@chromium.org> Commit-Queue: Christopher Lam <calamity@chromium.org> Cr-Commit-Position: refs/heads/main@{#1001372}
- Loading branch information
1 parent
46c13be
commit 8524364
Showing
4 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters