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
mkdir lower upper work merged
mkdir -p lower/a/b lower/b
mount -B lower/a/b lower/b
fuse-overlayfs -o lowerdir=lower,upperdir=upper,workdir=work merged
ls lower
>> a b
ls merged
>> a
Expected result
merged should contain both directories.
The problem
When a new node has the same inode, this code checks if it's a directory, frees it if so, and returns the existing node:
Reproduction
Expected result
merged
should contain both directories.The problem
When a new node has the same inode, this code checks if it's a directory, frees it if so, and returns the existing node:
fuse-overlayfs/main.c
Lines 1194 to 1206 in 84240e9
This is clearly way too dangerous. However, the problem goes away if the
node_dirp (it)
condition is removed.The text was updated successfully, but these errors were encountered: