diff options
author | Peter Maydell | 2017-01-09 17:45:09 +0100 |
---|---|---|
committer | Michael Tokarev | 2017-01-24 21:26:53 +0100 |
commit | ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051 (patch) | |
tree | 65dd38361a1dfed9072e179c5f40f9de26e0553b /gdbstub.c | |
parent | win32: use glib gpoll if glib >= 2.50 (diff) | |
download | qemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.tar.gz qemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.tar.xz qemu-ba56e4cad41ea2b2fb68d18a632ebc7d4e4b1051.zip |
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 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions