commit | 5e978c8b9862c590353b153d1bccdf201715711d | [log] [tgz] |
---|---|---|
author | Chad Duffin <chadduffin@chromium.org> | Fri Jun 09 16:48:43 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 09 16:48:43 2023 |
tree | 8011e6657bed0f8b3aa7eb5eead1b3d8a3514dc2 | |
parent | 777b24f06b3555806e2562a1c05a48b213c88ea0 [diff] |
power: Fix OOB read in PowerMessageHandler This change fixes an out-of-buffer read in PowerMessageHandler by asserting that the length of the argument list is |1|. Bug: 1446862 Test: https://drive.google.com/file/d/17Oo_BnOLms7hcZzvjyOEoKvhkim9RMPG/view?usp=sharing Change-Id: I630519d1769d18aba89b4ff6cde5550015132650 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4598969 Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Chad Duffin <chadduffin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1155576}
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.