Skip to content

Fall into an infinite loop when unpacking malformed data. #149

@nori0428

Description

@nori0428

When receiving malformed msgpack data from network, unpacker.next falls into an infinite loop.
And this occurs only when sizeof(size_t) == 4.

Please see https://gist.github.com/nori0428/55a63422add3e956bf68

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions