mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
NotSupportedException when decompress a GZIP file #435
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @waldo2188 on GitHub (Jan 13, 2021).
Hi !
We encountered an error with version 0.27 when we tried to decompress a GZIP file. The method
MoveToNextEntry()throw aNotSupportedExceptionexception when the code tried to access to theLengthproperty of classSharpCompress.IO.RewindableStream.You can reproduce this behaviour with the code bellow and the file attached: simple.gz.
@adamhathcock commented on GitHub (Jan 13, 2021):
Could you put the full stack trace you're seeing?
I realized I didn't have any tests covering what you did and I did change code in that area but I can't reproduce your problem.
@waldo2188 commented on GitHub (Jan 13, 2021):
The stack trace as you ask :
@adamhathcock commented on GitHub (Jan 13, 2021):
Thanks that narrowed it down. Will release a fix.
@adamhathcock commented on GitHub (Jan 13, 2021):
0.27.1 has been released
@waldo2188 commented on GitHub (Jan 13, 2021):
Thank you very much for the fast correction!!