Update to 7-Zip Version 22.00

See: https://sourceforge.net/p/sevenzip/discussion/45797/thread/9c2d9061ce/
This commit is contained in:
Tino Reichardt
2022-08-07 09:59:33 +02:00
parent 6a4fe97fc3
commit 57558682a8
211 changed files with 15251 additions and 2482 deletions
+5 -2
View File
@@ -162,7 +162,10 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *callback)
numLetters++;
}
}
else if (ext.Len() >= 2 && StringsAreEqual_Ascii(ext2.RightPtr(2), "01"))
else if (ext2.Len() >= 2 && (
StringsAreEqual_Ascii(ext2.RightPtr(2), "01")
|| StringsAreEqual_Ascii(ext2.RightPtr(2), "00")
))
{
while (numLetters < ext2.Len())
{
@@ -170,7 +173,7 @@ HRESULT CHandler::Open2(IInStream *stream, IArchiveOpenCallback *callback)
break;
numLetters++;
}
if (numLetters != ext.Len())
if (numLetters != ext2.Len())
return S_FALSE;
}
else