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

.Net Remoting Sink zip error #756

Closed zimuyanghua closed 2 years ago

zimuyanghua commented 2 years ago

Borrowing code when using Demoting channel compression, there is no problem with using it at first, but occasionally encounter the following exception, the error shows that the array is out of bounds when the compression is written, but is this an internal problem of NZlib? How do I need to fix it. The actual test environment cannot be reproduced at all, and this phenomenon can only occur in the production environment. If it can be solved by upgrading, what is the reason for this?

https://www.cnblogs.com/openkava/archive/2007/08/10/850203.html

超出数组提示

piksel commented 2 years ago

Since the library (and namespace) was renamed to SharpZipLib in version 0.3, you must be using a really outdated version. I have no idea what the code base was like then (10+ years ago?).

zimuyanghua commented 2 years ago

Since the library (and namespace) was renamed to SharpZipLib in version 0.3, you must be using a really outdated version. I have no idea what the code base was like then (10+ years ago?).

Thanks!I guess the only way to solve this problem is to use the new version.

piksel commented 2 years ago

Yeah. Sorry I can't be of any more help.