Skip to content
This repository was archived by the owner on Feb 22, 2019. It is now read-only.
This repository was archived by the owner on Feb 22, 2019. It is now read-only.

BinaryParser.fromLong loops and runs out of memory on negative numbers #1

@calvinfo

Description

@calvinfo

Seems to be the way it is bit shifting in encodeInt after adjusting data to be represented as a positive number.

To reproduce:

thrift.BinaryParser.BinaryParser.fromLong(-1);

FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory.

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