-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[omnibox] Fix UAF bug in TemplateURLParser
This CL takes a snapshot of SearchTermsData (just like HistoryURLProvider does) within TemplateURLParser, so we eliminate a source of UAF bugs, where the TemplateURL parsing outlives the original SearchTermsData. This bug happens during Chrome shutdown. Bug: 1278322 Change-Id: I439d9d3193bcaa7ef57ec0a046d057c32ef6fb76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3403242 Reviewed-by: Justin Donnelly <jdonnelly@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/main@{#961536}
- Loading branch information
Tommy Li
authored and
Chromium LUCI CQ
committed
Jan 20, 2022
1 parent
bab7b27
commit 24459ac
Showing
4 changed files
with
105 additions
and
84 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