aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-01-09 16:45:09 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2017-01-24 23:26:53 +0300
commitba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051 (patch)
tree65dd38361a1dfed9072e179c5f40f9de26e0553b /qga
parent1706e9d819ff610154fe47ef3a195c2fd6604efe (diff)
downloadqemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.zip
qemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.tar.gz
qemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.tar.bz2
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>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions