Re: [Qemu-devel] [PATCH] ui/vnc: fix potential memory corruption issues

2014-06-30 Thread Gerd Hoffmann
On Mo, 2014-06-30 at 10:01 +0200, Peter Lieven wrote: > On 30.06.2014 09:52, Gerd Hoffmann wrote: > > So this basically makes vnc work correctly in case guest surface and > > server surface have different sizes, then fixes the two bugs on top of > > that. And it obsoletes the other corruption patc

Re: [Qemu-devel] [PATCH] ui/vnc: fix potential memory corruption issues

2014-06-30 Thread Peter Lieven
On 30.06.2014 09:52, Gerd Hoffmann wrote: On Mo, 2014-06-30 at 09:24 +0200, Peter Lieven wrote: this patch addresses 2 memory corruption issues. The first was actually discovered during playing around with a Windows 7 vServer. During resolution change in Windows 7 it happens sometimes that Wind

Re: [Qemu-devel] [PATCH] ui/vnc: fix potential memory corruption issues

2014-06-30 Thread Gerd Hoffmann
On Mo, 2014-06-30 at 09:24 +0200, Peter Lieven wrote: > this patch addresses 2 memory corruption issues. > > The first was actually discovered during playing > around with a Windows 7 vServer. During resolution > change in Windows 7 it happens sometimes that Windows > changes to an intermediate re

[Qemu-devel] [PATCH] ui/vnc: fix potential memory corruption issues

2014-06-30 Thread Peter Lieven
this patch addresses 2 memory corruption issues. The first was actually discovered during playing around with a Windows 7 vServer. During resolution change in Windows 7 it happens sometimes that Windows changes to an intermediate resolution where server_stride % cmp_bytes != 0 (in vnc_refresh_serv