-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Steps to reproduce
- Create sample project that can create .tar.gz archive and extract from it. I used examples from
https://github.com/icsharpcode/SharpZipLib/wiki/GZip-and-Tar-Samples#-simple-full-extract-from-a-tgz-targz
https://github.com/icsharpcode/SharpZipLib/wiki/GZip-and-Tar-Samples#-create-a-tgz-targz - Create test file less than 10Kb. I created .txt file with some data.
- Create tar.gz archive
- Try to extract from created archive.
Expected behavior
The archive will be extracted.
Actual behavior
There is an error on extraction:
ICSharpCode.SharpZipLib.GZip.GZipException: 'Error GZIP header, first magic byte doesn't match'
Version of SharpZipLib
I used SharpZipLib version 1.2.0
FileLess10Kb.zip
- Package installed using NuGet