Repository navigation
Bump rustix to 1.1.6 - #20
Merged
Merged
Conversation
Clears RUSTSEC-2026-0486: 1.1.5 marked unwritten bytes as initialized when an xattr call got a zero-length buffer, and 1.1.6 returns an empty result instead. Only the lockfile moves. The crate is reached through `insta` -> `tempfile`, so it is a dev-dependency on unix targets only: no released binary carries it, and `tempfile` never calls the xattr functions at issue. Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
Clears RUSTSEC-2026-0486 (#19).
rustix 1.1.5marked unwritten bytes as initialized when an xattr call was given a zero-length buffer — the OS treats that as a size query and writes nothing — so aVec::spare_capacitycaller could grow its length over uninitialized memory. 1.1.6 returns an empty result for a zero-length buffer instead.Only
Cargo.lockchanges; no manifest constraint moves.Reach
rustixarrives throughinsta→tempfile, i.e. from dev-dependencies, and only on unix targets (cargo tree -i rustixfinds nothing on the host,--target allfinds it). No released binary links it, andtempfileusesopen/unlink-class calls, never the xattr functions at issue.Verification
cargo test --workspace --locked— all suites pass, corpus snapshots unchanged.🤖 Generated with Claude Code