-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OverflowException when trying to inflate. #1
Comments
Hi! Thanks for the bug report and fix. Unfortunately I'm not the author of this library, and I haven't coded in C# for years. I only put it on github so that I could distribute a small hack I made (which I kept in a branch). I suggest you fork this repository and fix it there. If you do, I'll update the readme of my repository so that it redirects developers to the fork. |
@philippelatulippe Mind updating your readme to point to my zlib.managed fork? |
@philippelatulippe the url to it is https://github.com/Elskom/zlib.managed/ I renamed the forked repository to match the fact that I had to rename the project just to publish it to nuget.org. Also might have to mark this copy of zlib.net as |
It's great that you're maintaining this library, I've updated the readme to direct people to your fork. I won't archive this repo yet since I feel it's better to leave the issue tracker open and direct people who post to the right place. |
When I try to decompress data using the
entry.compressed_size
orentry.uncompressed_size
as input to my Decompression and Compression helper functions it seems to do this overflow from insideinflate
itself.I think this is because zlib.net was not updated to the absolute latest release of the C based zlib library that fixes the problem (it seems).
ZlibHelper.cs
:Unpacker.cs
:The text was updated successfully, but these errors were encountered: