Re: [Xen-devel] [PATCH for-2.5] vnc: fix segfault

2015-11-25 Thread Anthony PERARD
On Wed, Nov 25, 2015 at 08:09:58AM +0100, Gerd Hoffmann wrote: > Commit "c7628bf vnc: only alloc server surface with clients connected" > missed one rarely used codepath (cirrus with guest drivers using 2d > accel) where we have to check for the server surface being present, > to avoid qemu crashin

[Xen-devel] [PATCH for-2.5] vnc: fix segfault

2015-11-24 Thread Gerd Hoffmann
Commit "c7628bf vnc: only alloc server surface with clients connected" missed one rarely used codepath (cirrus with guest drivers using 2d accel) where we have to check for the server surface being present, to avoid qemu crashing with a NULL pointer dereference. Add the check. Reported-by: Anthon