Subject: Fix for crash caused by libfuse 2.5.2.
Date: Friday 17th February 2006 18:18:28 UTC (over 12 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]