Skip to content

Uncompressed data size mismatch (nodejs) still there in 3.7.1 - 32 Bit Issue with << #777

Open
@JMS-1

Description

@JMS-1

I got a ZIP which includes a single file with more than 2GB in (decompressed) size. On decompression the error from the title is thrown. It clearly is some 32Bit signed/unsigned issue:

worker.on("end", function () {
            if (this.streamInfo['data_length'] !== that.uncompressedSize) {
                throw new Error("Bug : uncompressed data size mismatch");
            }
        });
        
this.streamInfo['data_length']
	4011341711 (0xEF18378F)
that.uncompressedSize
	-283625585 (0xEF18378F)

So my question is: is there a size limit of 2GB for individual files inside the ZIP (which by the way has been created with jszip 3.7.1 as well)?

Thanks

Jochen

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions