aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/archive_input_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/archive_input_plugin.c')
-rw-r--r--src/input/archive_input_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/archive_input_plugin.c b/src/input/archive_input_plugin.c
index 4847b4483..15070f91a 100644
--- a/src/input/archive_input_plugin.c
+++ b/src/input/archive_input_plugin.c
@@ -62,6 +62,8 @@ input_archive_open(struct input_stream *is, const char *pathname,
}
file = archive_file_open(arplug, archive);
+ if (file == NULL)
+ return false;
//setup fileops
opened = archive_file_open_stream(file, is, filename, error_r);