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

Potential Overflow in rust code #5

Open
DE0CH opened this issue Jul 19, 2022 · 0 comments
Open

Potential Overflow in rust code #5

DE0CH opened this issue Jul 19, 2022 · 0 comments

Comments

@DE0CH
Copy link
Owner

DE0CH commented Jul 19, 2022

There are a lot of try_into().unwrap() in the rust code. They might panic if the number is larger than the destination. It is unclear how likely this situation might occur, but need to either prove that it can at least hold u64 or add error handling.

@DE0CH DE0CH changed the title Overflow in rust code Potential Overflow in rust code Dec 5, 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

No branches or pull requests

1 participant