Skip to content

Dictionary ID can't >= 4294967177 in 32-bit build #4580

@wjssz

Description

@wjssz

4294967177 = (2**32-1) - 118

Here return dictID, if dictID is too large, it will be treated as an error code.
https://github.com/facebook/zstd/blob/dev/lib/compress/zstd_compress.c#L5204

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