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

Report Integer Overflow in imageproc #1742

Closed
wants to merge 3 commits into from

Conversation

kuzeyardabulut
Copy link

@kuzeyardabulut kuzeyardabulut commented Aug 8, 2023

2 different bugs in original issue report: image-rs/imageproc#537

@Shnatsel
Copy link
Member

Shnatsel commented Aug 8, 2023

Thank you for the report!

Unlike in C-like languages, in Rust integer overflow is not considered undefined behavior by the specification, so the compilers do not assume it will never happen. Integer overflow in Rust does cause a panic in debug mode or an incorrect result in release mode, but does not create opportunities for arbitrary code execution. This is a bug, but not a security issue, so I am going to go ahead and close this.

@Shnatsel Shnatsel closed this Aug 8, 2023
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.

2 participants