aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse.c
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2018-11-27 20:58:36 +0000
committerNikolaus Rath <Nikolaus@rath.org>2018-11-27 20:58:36 +0000
commitd4a7ba44b022e3b63fc215374d87ed9e930d9974 (patch)
tree7b99187a746092c72b39e9e323bbe9a7eecb4750 /lib/fuse.c
parentd1ab94c3551ebdeb4fbfbd12db930f4c20a3a889 (diff)
downloadlibfuse-d4a7ba44b022e3b63fc215374d87ed9e930d9974.tar.gz
Fix fd/inode leak
If do_readdir() calls do_lookup(), but the latter fails, we still have to return any entries that we already stored in the readdir buffer to avoid leaking inodes. do_lookup() may fail if e.g. we reach the file descriptor limit.
Diffstat (limited to 'lib/fuse.c')
0 files changed, 0 insertions, 0 deletions