Skip to content

Commit 24f225c

Browse files
committed
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 9739293 commit 24f225c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libclamunrar/dll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ int PASCAL ProcessFile(HANDLE hArcData,int Operation,char *DestPath,char *DestNa
318318
{
319319
Data->Cmd.DllError=0;
320320
if (Data->OpenMode==RAR_OM_LIST || Data->OpenMode==RAR_OM_LIST_INCSPLIT ||
321-
Operation==RAR_SKIP && !Data->Arc.Solid)
321+
Operation==RAR_SKIP) // && !Data->Arc.Solid)
322322
{
323323
if (Data->Arc.Volume && Data->Arc.GetHeaderType()==HEAD_FILE &&
324324
Data->Arc.FileHead.SplitAfter)

0 commit comments

Comments
 (0)