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: overflow in ParseBase58/ParseBase32 #45

Closed
wants to merge 1 commit into from

Conversation

dnephin
Copy link

@dnephin dnephin commented Apr 26, 2022

Fixes #42

The ID should not be allowed to overflow an int64. The test cases added here fail before the code change.

The ID should not be allowed to overflow an int64
@dnephin
Copy link
Author

dnephin commented May 3, 2022

After doing some more testing with fuzz tests I see this is not at all the right way of dealing with overflow.

@dnephin dnephin closed this May 3, 2022
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.

parsing doesn't consider negative numbers
1 participant