commit | 256ec1097d39b60cf7f4f201ff712bfbe76f73cf | [log] [tgz] |
---|---|---|
author | Philip Pfaffe <pfaffe@chromium.org> | Tue Jun 24 16:41:15 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 24 16:41:15 2025 |
tree | e62199aeab7b76887e744a95fc8a285219bf97c9 | |
parent | 3f206ec29295cde5dbd436f0ed83b42725023d02 [diff] |
Fix bounds check in CSSAgent::getStyleSheetText GetStylesheetText takes a stylesheet_id as untrusted user input which is used to index into a vector. We need to check the lower bound of the index to not index out-of-bounds. Fixed: 41490623 Change-Id: I90cdf89f2fe257a27547a8978bbcad8844c908d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6667080 Commit-Queue: Philip Pfaffe <pfaffe@chromium.org> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Auto-Submit: Philip Pfaffe <pfaffe@chromium.org> Cr-Commit-Position: refs/heads/main@{#1477982}
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.