Skip to content

Fix u32 overflow when parsing package references with ridiculously large/long version numbers #14

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

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

ethangreen-dev
Copy link
Member

Packages like NintendoHomebrew-NH_Bullshit-1.1.11111111111 would cause u32 overflows when version numbers were parsed from package references. This PR fixes this issue by simply replacing u32 types with u64.

@ethangreen-dev ethangreen-dev merged commit 5e8497d into develop Mar 1, 2025
2 of 4 checks passed
@ethangreen-dev ethangreen-dev deleted the fix-version-overflow branch March 1, 2025 07:30
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.

1 participant