Commit 1ac5b35c authored by Laurent Aimar's avatar Laurent Aimar

Ignore files without their beginning in RAR archive.

parent 136942f3
......@@ -209,6 +209,8 @@ static int SkipFile(stream_t *s, int *count, rar_file_t ***file,
current = NULL;
if (!current) {
if (hdr->flags & RAR_BLOCK_FILE_HAS_PREVIOUS)
goto exit;
current = malloc(sizeof(*current));
if (!current)
goto exit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment