diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-08-17 14:19:04 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-08-17 14:19:04 -0700 |
commit | c84ce6be6a7e2e70c9ab20b60bc7198699690d50 (patch) | |
tree | 2760cef2d4e4d92a6796c3740654be7d11708057 /Makefile.am | |
parent | c1c5c9aa4cacb9138d6a2e5d37619f7960b54536 (diff) |
CatalogueRescan: if opendir() fails, unref fpes, but don't free the cat
None of the callers of CatalogueRescan check for failure before accessing
the cat pointer so don't free it (especially without clearing the pointer
to it in fpe->private), just unref the contents.
Can only be triggered if somehow stat() succeeds on the directory, but
opendir fails anyway (removed between the calls? permission problem?).
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions