| commit | 70a35bc20293ee050047d712fe6cb9a65f18e49c | [log] [tgz] |
|---|---|---|
| author | Joel Hockey <joelhockey@chromium.org> | Wed Feb 12 00:37:20 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 12 00:37:20 2025 |
| tree | de16a672c921098d32b1bdfeb8d720c87246ed8d | |
| parent | fcff9064e485a488efaa93dd1cd8346ce543ef24 [diff] |
Validate path before calling content::PathInfo() to avoid crash In cases such as drag-drop, or reading from prefs where a path is empty, we can ignore the value rather than crashing. Bug: 373011906 Change-Id: I0212ec6a577788c6718f7ebe72eade329cb2dc4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6252217 Auto-Submit: Joel Hockey <joelhockey@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Nathan Memmott <memmott@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1418998}
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.