Skip to content

Fix JSON decoding of > 64 bit integers#751

Merged
jcrist merged 1 commit intomainfrom
fix-decode-65-bit-int
Oct 20, 2024
Merged

Fix JSON decoding of > 64 bit integers#751
jcrist merged 1 commit intomainfrom
fix-decode-65-bit-int

Conversation

@jcrist
Copy link
Owner

@jcrist jcrist commented Oct 20, 2024

Previously our 64 bit integer overflow detection logic was broken for a range of 65 bit integers between (2 ** 64) + (10 ** 18) + 1 and 19999999999999999999 (inclusive). This PR fixes this overflow detection logic and improves the test coverage of certain big integers.

Fixes #701.

Previously our 64 bit integer overflow detection logic was broken for a
range of 65 bit integers between `(2 ** 64) + (10 ** 18) + 1` and
`19999999999999999999` (inclusive). This PR fixes this overflow
detection logic and improves the test coverage of certain big integers.
@jcrist jcrist merged commit 3363eea into main Oct 20, 2024
@jcrist jcrist deleted the fix-decode-65-bit-int branch October 20, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect decoding of 65-bit integer

1 participant

Comments