Skip to content

Fix the xattr read loop bounds - #658

Merged
crosbymichael merged 4 commits into
apple:mainfrom
dkovba:xattr
Apr 9, 2026
Merged

Fix the xattr read loop bounds#658
crosbymichael merged 4 commits into
apple:mainfrom
dkovba:xattr

Conversation

@dkovba

@dkovbadkovba commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Fixes the xattr read loop bounds. Resolves the failing added tests:

✘ Test lastXattrNotDroppedAtBufferBoundary() recorded an issue at TestEXT4ExtendedAttributes.swift:72:13: Expectation failed: (attrs.count → 0) == 1
✘ Test lastXattrNotDroppedAtBufferBoundary() failed after 0.001 seconds with 1 issue.

Swift/Array.swift:430: Fatal error: Array index is out of range

@dkovba
dkovba requested a review from wlan0April 7, 2026 02:20
@crosbymichael
crosbymichael merged commit 3a84f98 into apple:mainApr 9, 2026
3 checks passed
@dkovba
dkovba deleted the xattr branch April 9, 2026 18:30
Sign up for freeto 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.

2 participants

@dkovba@crosbymichael