Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 20, 2025

This PR contains the following updates:

Package Type Update Change
xattr workspace.dependencies minor 1.4.01.6.1

Release Notes

Stebalien/xattr (xattr)

v1.6.1

Compare Source

What's Changed

This release fixes a long-standing bug where we didn't correctly handle the return value of the FreeBSD and NetBSD xattr syscalls.

On Linux (and macOS), the xattr API returns ERANGE if the result doesn't fit in the provided buffer. On FreeBSD (and NetBSD), it returns the number of bytes read even if the syscall fails to read the entire value. This library assumed FreeBSD behaved the same as Linux.

In releases prior to 1.6.0, this issue was unlikely to be encountered in practice (except at scale) because we always checked the size before we read the attribute. It was still incorrect (TOCTOU issue), but it would have required a race with someone changing the extended attributes to trigger the bug.

In 1.6.0 this issue started showing up in testing because we try reading once with a 4KiB buffer before checking the size.

Full Changelog: Stebalien/xattr@v1.6.0...v1.6.1

v1.6.0

Compare Source

What's Changed

Xattr can now read extended attribute values, list extended attributes, etc. in a single syscall instead of 2 as long as the total size is at most 4096 bytes. The downside of this change is that, e.g., if a file has more than 4KiB of extended attributes, listing extended attributes on the file will require 3 syscalls (because the first "optimistic" one will fail).

Full Changelog: Stebalien/xattr@v1.5.1...v1.6.0

v1.5.1

Compare Source

v1.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from 5eed54e to 5e093b8 Compare June 25, 2025 17:42
@renovate renovate bot changed the title chore(deps): update rust crate xattr to v1.5.0 chore(deps): update rust crate xattr to v1.5.1 Jun 25, 2025
@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from 5e093b8 to 924d641 Compare August 10, 2025 13:13
@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from 924d641 to cda6aef Compare September 21, 2025 04:31
@renovate renovate bot changed the title chore(deps): update rust crate xattr to v1.5.1 chore(deps): update rust crate xattr to v1.6.1 Sep 21, 2025
@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from cda6aef to 317c916 Compare December 10, 2025 15:59
@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from 317c916 to b806c78 Compare December 31, 2025 15:41
@renovate renovate bot force-pushed the renovate/xattr-1.x-lockfile branch from b806c78 to afa8015 Compare February 2, 2026 19:05
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.

0 participants