commit | 43e62b07e4ddadd037a3c6c37ecb59aa56cab22f | [log] [tgz] |
---|---|---|
author | Devon Loehr <dloehr@google.com> | Mon Jul 22 14:18:14 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 22 14:18:14 2024 |
tree | eb1d242e5170a968b20e375b32d23a6bbbd2b5ac | |
parent | 9bcafe325289a829e6b12d34bf19f75701c5540f [diff] |
Remove use of variable-length array Variable-length arrays aren't officially part of C++, and can result in allocating unbounded amounts of data on the stack. This commit replaces a variable-length array, replacing it with a WTF Vector. Bug: 349656479 Change-Id: I315dc985d65d72d4af6a5d9bb57dcc2971fa420e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5721456 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Devon Loehr <dloehr@google.com> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/main@{#1331037}
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.