Re: [PATCH] ui: return NULL when getting cursor without a console

2023-04-28 Thread Philippe Mathieu-Daudé
On 28/4/23 17:48, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau VNC may try to get the current cursor even when there are no consoles and crashes. Simple reproducer is qemu with -nodefaults. Fixes: (again) https://gitlab.com/qemu-project/qemu/-/issues/1548 Fixes: commit 385ac97f8

[PATCH] ui: return NULL when getting cursor without a console

2023-04-28 Thread marcandre . lureau
From: Marc-André Lureau VNC may try to get the current cursor even when there are no consoles and crashes. Simple reproducer is qemu with -nodefaults. Fixes: (again) https://gitlab.com/qemu-project/qemu/-/issues/1548 Fixes: commit 385ac97f8 ("ui: keep current cursor with QemuConsole") Signed-of