Repository navigation
deps: bump object to 0.40 - #3017
Merged
Merged
Conversation
object 0.37 pulls in ruzstd 0.8.3, which is affected by RUSTSEC-2026-0344. Updating object to 0.40 moves the lockfile to ruzstd 0.9.1, which has the fix. object 0.40 also stops returning the /<ECSYMBOLS>/ symbol table of ARM64EC COFF archives as a regular member when there is no // names table, so it no longer feeds into the archive hash. Add a test for that. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3017 +/- ##
=======================================
Coverage 78.81% 78.82%
=======================================
Files 75 75
Lines 45354 45394 +40
=======================================
+ Hits 35745 35781 +36
- Misses 9609 9613 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
|
Thanks for your PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cargo auditflags ruzstd 0.8.3 (RUSTSEC-2026-0344, decompression bomb), which only comes in through object 0.37. Bumping object to 0.40 (in both dependencies and dev-dependencies) moves the lockfile to ruzstd 0.9.1, which has the fix. No new dependencies; the lockfile also drops the duplicate hashbrown 0.15.No code changes were needed, but there is one behavior change: object 0.40 fixed parsing of ARM64EC COFF archives that have a
/<ECSYMBOLS>/symbol table and no//names table. Before, that symbol table came back as a regular member and went into the staticlib hash; now it's skipped, like the other symbol tables. That can mean a one-time cache miss for such archives, never a false hit. I added a test inutil.rsfor it; it fails on object 0.37.Tested on macOS with Rust 1.91.0: fmt, clippy with the CI flags,
cargo test --locked --lib --bins --tests, andcargo check --no-default-features --features <f>for each storage backend and dist-client. I didn't build dist-server (it doesn't build on macOS on main) or test on Linux/Windows.