Files
qemu/hw/display
Alex Bennée 7b55742254 hw/display: check frame buffer can hold blob
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.bennee@linaro.org>
Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-ID: <20241111230040.68470-3-alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-11-18 13:36:39 +01:00
..
2023-12-29 11:17:30 +11:00
2017-03-27 12:14:45 +02:00
2024-10-01 14:57:49 +01:00
2022-12-03 22:07:07 +01:00
2024-04-18 11:17:27 +02:00
2023-12-29 11:17:30 +11:00
2024-10-03 19:33:23 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-10-16 11:29:56 +04:00