Skip to content

Fix the xattr read loop bounds#658

Open
dkovba wants to merge 4 commits intoapple:mainfrom
dkovba:xattr
Open

Fix the xattr read loop bounds#658
dkovba wants to merge 4 commits intoapple:mainfrom
dkovba:xattr

Conversation

@dkovba
Copy link
Copy Markdown
Contributor

@dkovba dkovba commented Apr 7, 2026

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 wlan0 April 7, 2026 02:20
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