You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think the right fix is switching the type for the second argument from u32 -> usize while also replacing the multiplication with a checked_mul.
Running the PNM fuzzing target, this input produces a crash due to an attempt to multiply with overflow:
It looks like the offending multiply is this:
image/src/codecs/pnm/decoder.rs
Line 608 in 0f1c38a
I suspect this should be a
checked_mul
The text was updated successfully, but these errors were encountered: