Skip to content

mz_stream_mem_set_buffer doesn't support memory buffers larger than 32 bit integer #744

@san-zemotion

Description

@san-zemotion

In Minizip-ng, the mz_stream_mem_set_buffer function accepts the buffer size as a 32-bit integer, as shown in the signature below. This limitation causes a failure in mz_zip_reader_open when handling memory buffers larger than the maximum value representable by a 32-bit integer. Is there a recommended workaround for processing large memory buffers, or are there plans to support larger sizes in future releases?

Signature:
void mz_stream_mem_set_buffer(void *stream, void *buf, int32_t size);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions