Crash if decompressing broken archive


If you try to decompress a broken archive (I broke the test-archive by opening the archive with notepad and changing 1 character), the entire program closes without any error message.
I used the function SevenZipExtractor.BeginExtractArchive.
It works fine with SevenZipExtractor.ExtractArchive (returns a very good error message and does not crash).
I used 7z.dll version and SevenZipSharp.dll version 0.64.3890.29348


Xt23 wrote Oct 27, 2010 at 1:35 PM

The same error occures when adding new files to a broken existing archive with SevenZipCompressor.BeginCompressFiles or SevenZipCompressor.BeginCompressDirectory and with CompressionMode set to Append.
It works fine with SevenZipCompressor.CompressFiles and SevenZipCompressor.CompressDirectory.

markhor wrote Dec 21, 2010 at 7:32 AM

That's interesting. I will work it out.

wrote Feb 22, 2013 at 1:16 AM