mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #406] fix(fuse): fix double-reply and null-deref in iovs/addIoRing error path #419
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#419
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/3FS/pull/406
Author: @songqing
Created: 4/1/2026
Status: 🔄 Open
Base:
main← Head:fix/fuse-iovs-double-reply📝 Commits (2)
72bf8e3fix(fuse): fix double-reply and null-deref in iovs/addIoRing error path81578a0fix comment📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
src/fuse/FuseOps.cc(+7 -1)📄 Description
What: In the FUSE symlink path for the iovs special directory, when addIoRing fails after a successful addIov, the code now passes the addIoRing result (res2) into handle_error instead of the addIoV success (res), and returns immediately afterward.
Why: So the client gets the correct error, and the handler does not call fuse_reply_entry after already replying via handle_error (avoids a double reply and unsafe follow-on logic on the error path).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.