mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
SharpCompress 0.28.0 throws StackOverflowException when extracting an AES encrypted zip #437
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 @Kim-SSi on GitHub (Feb 18, 2021).
SharpCompress 0.28.0 throws a StackOverflowException when extracting an AES encrypted zip.
0.27.1 works fine.
Running on .NET 4.8.
Screenshots showing the StackOverflowException and callstack.





In image 5: _index and buffers.Length both = 50.
Reproducer.sln with 2 projects showing plain and AES zip file extraction on 0.28.0 and 0.,27.1.
Reproducer.zip
Callstack:
callstack.txt
@adamhathcock commented on GitHub (Feb 18, 2021):
Thanks for reporting this. Fixed here
020f862814Releasing fix in 0.28.1