-
Philip Withnall authored
find_file_in_data_dirs() doesn’t actually clear output_path to NULL on failure, so this prevents a use-after-free on that (fd == -1) error path. Spotted by Coverity (CID: #1352981).
58f56b24
find_file_in_data_dirs() doesn’t actually clear output_path to NULL on failure, so this prevents a use-after-free on that (fd == -1) error path. Spotted by Coverity (CID: #1352981).