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

Use u64 for chunk size to avoid overflows in arithmetic #45

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

fintelia
Copy link
Contributor

@fintelia fintelia commented Jan 2, 2024

Also fixes a few broken chunk size checks.

Fixes #44

@fintelia fintelia merged commit bc36ae1 into image-rs:main Jan 2, 2024
9 checks passed
@fintelia fintelia deleted the chunksize-u64 branch January 2, 2024 00: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.

Debug-mode panic on integer overflow in decoder.rs:701:12
1 participant