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 <alex.ben...@linaro.org>
> Cc: Dmitry Osipenko <dmitry.osipe...@collabora.com>

Reviewed-by: Dmitry Osipenko <dmitry.osipe...@collabora.com>
Tested-by: Dmitry Osipenko <dmitry.osipe...@collabora.com>

-- 
Best regards,
Dmitry

Reply via email to