summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-08-17 14:19:04 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-08-17 14:19:04 -0700
commitc84ce6be6a7e2e70c9ab20b60bc7198699690d50 (patch)
tree2760cef2d4e4d92a6796c3740654be7d11708057 /include
parentc1c5c9aa4cacb9138d6a2e5d37619f7960b54536 (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 'include')
0 files changed, 0 insertions, 0 deletions