Re: [Qemu-devel] [PATCH] vnc: fix overflow in vnc_update_stats

2017-01-24 Thread Marc-André Lureau
Hi - Original Message - > 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 serve

[Qemu-devel] [PATCH] vnc: fix overflow in vnc_update_stats

2017-01-24 Thread Gerd Hoffmann
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: di