aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorruanmeisi <[email protected]>2023-04-25 19:13:54 +0800
committerMiklos Szeredi <[email protected]>2023-08-16 09:40:48 +0200
commitb8bd342d50cbf606666488488f9fea374aceb2d5 (patch)
treebc93138e5677b5f848aca1ae080730ffb4c1171a /lib/test_fortify/write_overflow-strncpy-src.c
parent91ec6c85599b60c00caf4e9a9d6c4d6e5dd5e93c (diff)
fuse: nlookup missing decrement in fuse_direntplus_link
During our debugging of glusterfs, we found an Assertion failed error: inode_lookup >= nlookup, which was caused by the nlookup value in the kernel being greater than that in the FUSE file system. The issue was introduced by fuse_direntplus_link, where in the function, fuse_iget increments nlookup, and if d_splice_alias returns failure, fuse_direntplus_link returns failure without decrementing nlookup https://github.com/gluster/glusterfs/pull/4081 Signed-off-by: ruanmeisi <[email protected]> Fixes: 0b05b18381ee ("fuse: implement NFS-like readdirplus support") Cc: <[email protected]> # v3.9 Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions