You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle NULL path in chmod/utimens under nullpath_ok (FUSE 3)
The init callback sets fuse_config.nullpath_ok, so FUSE 3 may invoke
the setattr handlers with path == NULL and a valid file handle for an
open (possibly unlinked) file. chmod and utimens passed that NULL path
into ltfsmsg ("%s") and the path-based fsops, which is undefined
behaviour and fails the operation. Dispatch on the file handle like
getattr and truncate already do, using ltfs_fsops_set_readonly() and
ltfs_fsops_utimens().
0 commit comments