Skip to content
Snippets Groups Projects
Commit 1ac5b35c authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Ignore files without their beginning in RAR archive.

parent 136942f3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment