Skip to content

zlib fails on Uint8Array #12072

Closed
Closed
@nyurik

Description

@nyurik

Large buffers (300k+) stored as Uint8Array throw an exception when passed to zlib.gzipSync(data), even though zlibBufferSync() seems to work just fine after modifying the parameter type validation at

if (!(buffer instanceof Buffer))

Metadata

Metadata

Assignees

No one assigned

    Labels

    zlibIssues and PRs related to the zlib subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions