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

Add clippy check for overflowing arithmetic #1238

Open
segfault-magnet opened this issue Dec 14, 2023 · 0 comments
Open

Add clippy check for overflowing arithmetic #1238

segfault-magnet opened this issue Dec 14, 2023 · 0 comments
Labels
tech-debt Improves code quality or safety

Comments

@segfault-magnet
Copy link
Contributor

Our fuzzing efforts have mainly discovered unchecked arithmetic. We should add the following clippy check to our CI to disallow unchecked arithmetic in the future:
https://rust-lang.github.io/rust-clippy/master/index.html#/arithmetic_side_effects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Improves code quality or safety
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant