Skip to content
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

Verbose mode reports 1844674407370955161600% compression #148

Open
benrg opened this issue Jun 7, 2018 · 1 comment
Open

Verbose mode reports 1844674407370955161600% compression #148

benrg opened this issue Jun 7, 2018 · 1 comment

Comments

@benrg
Copy link

benrg commented Jun 7, 2018

When trying to compress incompressible buffers (like a single zero byte), verbose output produces lines like

Original Size: 1, Deflate: 3, Compression: 1844674407370955161600.000000% Removed

I didn't look at the code but I imagine it's an unsigned-wraparound issue.

@slashnick
Copy link

#138 should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants