Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: John Muir <muirj-ZIRUuHA3oDzQT0dZR+AlfA <at> public.gmane.org>
Subject: Fix for crash caused by libfuse 2.5.2.
Newsgroups: gmane.comp.file-systems.fuse.devel
Date: Friday 17th February 2006 18:18:28 UTC (over 11 years ago)
Hi,

I've had fuse crashes occur because if in the case that when the mknod 
operation request is aborted, a reply to the kernel will result in ENOENT.

The reply_entry() method in fuse.c attempts to do a forget, but during 
the fuse_reply_entry call, the associated fuse request structure is 
invalidated. The code attempts to remove the entry from the inode table, 
but fails because it tries to use the invalid request structure to get 
the associated struct fuse.

The attached patch seems to have fixed this issue by grabbing the struct 
fuse pointer ahead of time.

John.

-- 
John Muir
VR20 - Typhoon Software
NORTEL
[email protected]
 
CD: 4ms