FuelLabs/fuels-rs

Add clippy check for overflowing arithmetic

Open

#1,238 opened on Dec 14, 2023

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Rust (1,360 forks)batch import
Securitygood first issuetech-debtv1.0

Repository metrics

Stars
 (43,211 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide