Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSON decoding of > 64 bit integers #751

Merged
merged 1 commit into from
Oct 20, 2024
Merged

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
7 checks passed
@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