| commit | a35b0296e33f0ad89ef692a7fe75ce33816ab265 | [log] [tgz] |
|---|---|---|
| author | Daniel Rubery <drubery@chromium.org> | Wed Apr 16 15:48:46 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 16 15:48:46 2025 |
| tree | f42fef166942de6e1baa424d75d3bee3eba13f1c | |
| parent | 2e51d30f4b0cf60dc1be2b800411431aacb3dff7 [diff] |
Gracefully handle small blkx in DMG parser Currently a small blkx will try to set `offset_` to a negative number, which hits a CHECK failure when converting to size_t. Instead we can return -1 to signal the Seek failure. Fixed: 382721842 Change-Id: Id7738597e9e19328cf03a7c7b5605ea9965eeeb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6460250 Commit-Queue: Daniel Rubery <drubery@chromium.org> Reviewed-by: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/main@{#1447777}
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.