Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Verbose mode reports 1844674407370955161600% compression #148

@benrg

Description

@benrg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions