Skip to content

Commit 8b58648

Browse files
committed
Patch UnRAR: allow skipping files in solid archives
This is a cherry-pick of commit 24f225c Modification to unrar codebase allowing skipping of files within Solid archives when parsing in extraction mode, enabling us to skip encrypted files while still scanning metadata and potentially scanning unencrypted files later in the archive.
1 parent 960991e commit 8b58648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libclamunrar/dll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ int PASCAL ProcessFile(HANDLE hArcData,int Operation,char *DestPath,char *DestNa
329329
{
330330
Data->Cmd.DllError=0;
331331
if (Data->OpenMode==RAR_OM_LIST || Data->OpenMode==RAR_OM_LIST_INCSPLIT ||
332-
Operation==RAR_SKIP && !Data->Arc.Solid)
332+
Operation==RAR_SKIP) // && !Data->Arc.Solid)
333333
{
334334
if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_FILE &&
335335
Data->Arc.FileHead.SplitAfter)

0 commit comments

Comments
 (0)