vnc: fix segfault
Commit "c7628bff 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:Anthony PERARD <anthony.perard@citrix.com> Tested-by:
Anthony PERARD <anthony.perard@citrix.com> Signed-off-by:
Gerd Hoffmann <kraxel@redhat.com>
Loading
Please register or sign in to comment