Peter Maydell ba56e4cad4 hw/display/framebuffer.c: Avoid overflow for framebuffers > 4GB
Coverity points out that calculating src_len by multiplying
src_width by rows could overflow. This can only happen in
the implausible case of a framebuffer larger than 4GB, but
we may as well fix it, placating Coverity. (CID1005515)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2017-01-24 23:26:53 +03:00
..
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2014-07-11 10:17:02 +02:00
2016-01-29 15:07:24 +00:00
2016-05-13 09:33:38 +01:00
2016-06-14 16:01:03 +01:00
2016-01-29 15:07:24 +00:00
2016-10-24 16:26:56 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-09-22 18:13:08 +01:00
2016-01-29 15:07:24 +00:00
2016-09-08 18:05:21 +04:00
2016-01-29 15:07:24 +00:00
2016-10-28 17:54:39 -07:00
2017-01-24 23:26:52 +03:00