Skip to content

(cbor) Handle case of BigDecimal with Integer.MIN_VALUE for scale gracefully #264

@cowtowncoder

Description

@cowtowncoder

(note: this issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32381 from oss-fuzz)

Looks like attempts to normalize BigDecimal using method stripTrailingZeros() fails on a specific case of BigDecimal value with smallest possible scale value, probably since Integer.MIN_VALUE does not have matching opposite positive value.
This issue will need to be fixed in jackson-databind, but filing here since it is most easily exposed via binary codecs (not sure how to trigger textual version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cborfuzzIssue found by OssFuzz

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions