Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M98] Fix UAF in TailoredSecurity on Android
Fix UAF error by not calling dismiss callback in accepted and dismiss internal. Both will call HandleMessageDismissed later. Also, fix lifetime issue for TailoredSecurityConsentedModalAndroid. The class was written for a persistent lifetime. Now it is managed with a similar per-message lifetime as TailoredSecurityUnconsentedMessageAndroid. Also, turn off Enhanced Protection for sync user disable flow on Android. (cherry picked from commit 998b05a) Bug: 1291254 Change-Id: I33b193b570081562b1156ac62fd37bb5acc8a80d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3422230 Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Commit-Queue: Rohit Bhatia <bhatiarohit@google.com> Cr-Original-Commit-Position: refs/heads/main@{#964714} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3449373 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Daniel Rubery <drubery@chromium.org> Cr-Commit-Position: refs/branch-heads/4758@{#1115} Cr-Branched-From: 4a2cf4b-refs/heads/main@{#950365}
- Loading branch information
Rohit Bhatia
authored and
Chromium LUCI CQ
committed
Feb 9, 2022
1 parent
d3dcbbe
commit f5de310
Showing
3 changed files
with
21 additions
and
31 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