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 (43,211 stars) (1,360 forks)batch import
Securitygood first issuetech-debtv1.0

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

Add clippy check for overflowing arithmetic · FuelLabs/fuels-rs#1238 | Good First Issue