diff options
author | 2017-01-24 10:00:28 +0100 | |
---|---|---|
committer | 2017-01-31 08:52:52 +0100 | |
commit | eebe0b7905642a986cbce7406d6ab7bf78f3e210 (patch) | |
tree | 8daffe2c375b3f097a0c1314a02a15092f5e5d42 /scripts/qapi-commands.py | |
parent | spice: wakeup QXL worker to pick up mouse changes (diff) | |
download | qemu-eebe0b7905642a986cbce7406d6ab7bf78f3e210.tar.xz qemu-eebe0b7905642a986cbce7406d6ab7bf78f3e210.zip |
vnc: fix overflow in vnc_update_stats
Commit "bea60dd ui/vnc: fix potential memory corruption issues" is
incomplete. vnc_update_stats must calculate width and height the same
way vnc_refresh_server_surface does it, to make sure we don't use width
and height values larger than the qemu vnc server can handle.
Commit "e22492d ui/vnc: disable adaptive update calculations if not
needed" masks the issue in the default configuration. It triggers only
in case the "lossy" option is set to "on" (default is "off").
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 1485248428-575-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions