icsharpcode / SharpZipLib

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
http://icsharpcode.github.io/SharpZipLib/
MIT License
3.73k stars 976 forks source link

Unpacking 7z archive failed. #829

Closed AtlantisDe closed 1 year ago

AtlantisDe commented 1 year ago

Describe the bug

Unpacking 7z archive failed.


//Test File

python-3.7.3-embed-amd64.7z

// Demo Code 
https://raw.githubusercontent.com/icsharpcode/SharpZipLib/master/samples/ICSharpCode.SharpZipLib.Samples/cs/unzipfile/UnZipFile.cs

//Exception
Exception:[TestDng.Test.Class1] Exception Message:Size mismatch: 12161;41001 <-> 9484;28782

Reproduction Code

No response

Steps to reproduce

Unpacking 7z archive failed.

Expected behavior

Exception:[TestDng.Test.Class1] Exception Message:Size mismatch: 12161;41001 <-> 9484;28782

Operating System

Windows

Framework Version

.NET 6

Tags

ZIP

Additional context

No response

piksel commented 1 year ago

7z files are not supported. They use a entirely different format to zip.

AtlantisDe commented 1 year ago

7z files are not supported. They use a entirely different format to zip.

OK ths