Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Use a wider check position so SFX archives are correctly detected.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimian committed Jun 20, 2023
1 parent f80ddaf commit 17bc278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SevenZip/SevenZipExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private IInStream GetArchiveStream(bool dispose)
/// <returns>OperationResult.Ok if Open() succeeds.</returns>
private OperationResult OpenArchiveInner(IInStream archiveStream, IArchiveOpenCallback openCallback)
{
ulong checkPos = 1 << 15;
ulong checkPos = 1 << 23;
var res = _archive.Open(archiveStream, ref checkPos, openCallback);

return (OperationResult)res;
Expand Down

0 comments on commit 17bc278

Please sign in to comment.