-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix overflow issue introduced in 49035f4
Intermediate values may exceed u8 range. Use u16 instead. Also modify add to saturating add to avoid possibiliy of overflow (unconfirmed).
- Loading branch information
Frank Bossen
committed
Aug 8, 2023
1 parent
97a8692
commit 594581b
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters