Skip to content

Bump rustix to 1.1.6 - #20

Merged
Moler1995 merged 1 commit into
mainfrom
chore/bump-rustix-1.1.6
Nov 19, 2026
Merged

Moler1995 merged 1 commit into
mainfrom
chore/bump-rustix-1.1.6

Conversation

@Moler1995

Copy link
Copy Markdown
Owner

Clears RUSTSEC-2026-0486 (#19). rustix 1.1.5 marked 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 a Vec::spare_capacity caller could grow its length over uninitialized memory. 1.1.6 returns an empty result for a zero-length buffer instead.

Only Cargo.lock changes; no manifest constraint moves.

Reach

rustix arrives through insta → tempfile, i.e. from dev-dependencies, and only on unix targets (cargo tree -i rustix finds nothing on the host, --target all finds it). No released binary links it, and tempfile uses open/unlink-class calls, never the xattr functions at issue.

Verification

cargo test --workspace --locked — all suites pass, corpus snapshots unchanged.

🤖 Generated with Claude Code

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>
@Moler1995
Moler1995 merged commit 2b0899f into main Nov 19, 2026
9 checks passed
@Moler1995
Moler1995 deleted the chore/bump-rustix-1.1.6 branch November 19, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant