-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Line 82 in ad0b79e
| self.a[linestart + x0i as usize] += d * a0; |
x0i can be -1 in this case, and casting it to usize will give usize max. The addition with linestart will cause an arithmetic overflow. Wrapping add should be used.
Metadata
Metadata
Assignees
Labels
No labels