Skip to content
Snippets Groups Projects
Commit 7fe4a41c authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

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: default avatarAnthony PERARD <anthony.perard@citrix.com>
Tested-by: default avatarAnthony PERARD <anthony.perard@citrix.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 4b6eda62
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment