On 11/12/24 02:00, Alex Bennée wrote: > Coverity reports (CID 1564769, 1564770) that we potentially overflow > by doing some 32x32 multiplies for something that ends up in a 64 bit > value. Fix this by first using stride for all lines and casting input > to uint64_t to ensure a 64 bit multiply is used. > > Signed-off-by: Alex Bennée <[email protected]> > Cc: Dmitry Osipenko <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]> Tested-by: Dmitry Osipenko <[email protected]> -- Best regards, Dmitry
