commit | 70617a38826204c03c804971af0f3098f78f47a8 | [log] [tgz] |
---|---|---|
author | Tommy C. Li <tommycli@chromium.org> | Tue Feb 07 22:16:05 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 07 22:16:05 2023 |
tree | 1e5e90346a7aafafe20dad5352bb0e281f667f6a | |
parent | 28947b7bf5d7338af424780759781cb73028eb01 [diff] |
[history] Fix unchecked chrome.send param in ForeignSessionHandler The bug describes that a heap overflow can be triggered by using chrome.send to send an invalid message to the C++ handler. That was true because the C++ handler did not check the bounds of the array before using the parameter. This code is essentially unowned, but I'm fixing it because I'm listed as a History owner. Bug: 1408120 Change-Id: Ia8f049ca8bc35bbe63122affcb24b83d7d9cdb62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4226314 Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Auto-Submit: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/main@{#1102408}
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.