aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/tar2sqfs/process_tarball.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/tar2sqfs/process_tarball.c b/bin/tar2sqfs/process_tarball.c
index d7aac8c..1de35fa 100644
--- a/bin/tar2sqfs/process_tarball.c
+++ b/bin/tar2sqfs/process_tarball.c
@@ -209,6 +209,8 @@ int process_tarball(FILE *input_file, sqfs_writer_t *sqfs)
}
if (!is_prefixed) {
+ if (skip_entry(input_file, hdr.sb.st_size))
+ goto fail;
clear_header(&hdr);
continue;
}