commit | 721bbe5a4da69f86c172fb9100220f5f7340bac0 | [log] [tgz] |
---|---|---|
author | Joey Arhar <jarhar@chromium.org> | Tue Jan 28 18:15:04 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 28 18:15:04 2025 |
tree | 799c2131cf7ea961b8155e3848e47eea36bca44a | |
parent | 15b834b797566c71c37ae563de7515ba63a8e220 [diff] |
Reapply "Fix OptionList iterating before beginning" The new test in the original patch was failing on a Linux UBSan bot, which revealed that OptionListIterator::operator*() was dereferencing a null element. I fixed this by adjusting the test and adding a DCHECK to make sure the element is not null before dereferencing. I also added a WPT to make sure that the DCHECK doesn't get hit. This reverts commit 3bef4696dcb69725d3f1c72a0984ba91c2e00056. Original patch: commit 505729eedfd6243a6520d9fd09012b5dde449511 Fixed: 388299752 Change-Id: I01712fec0479ca567121051b33e6478cf77818b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6203424 Commit-Queue: Traian Captan <tcaptan@chromium.org> Auto-Submit: Joey Arhar <jarhar@chromium.org> Reviewed-by: Traian Captan <tcaptan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1412393}
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.