diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-27 20:58:36 +0000 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-27 20:58:36 +0000 |
commit | d4a7ba44b022e3b63fc215374d87ed9e930d9974 (patch) | |
tree | 7b99187a746092c72b39e9e323bbe9a7eecb4750 /lib | |
parent | d1ab94c3551ebdeb4fbfbd12db930f4c20a3a889 (diff) | |
download | libfuse-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')
0 files changed, 0 insertions, 0 deletions