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

Check UInt16#to_u8 for overflow in the interpreter #14436

Conversation

HertzDevil
Copy link
Contributor

This was discovered by running spec/primitives/int_spec.cr with the interpreter.

@straight-shoota straight-shoota added this to the 1.12.0 milestone Apr 6, 2024
@straight-shoota straight-shoota merged commit dd9551f into crystal-lang:master Apr 8, 2024
58 checks passed
@HertzDevil HertzDevil deleted the bug/interpreter-u16-to-u8-overflow branch April 8, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants