On Sun, Jan 01, 2017 at 10:39:45AM +0100, Hervé Poussineau wrote: > This patch fixes a segfault at QEMU startup, introduced in > a08156321ab9a7d2fed9ee77dbfeea2a61ffd153. > gd_vc_find_current() return NULL, which is dereferenced without checking it. > > While at it, disable the whole 'View' menu if no console exists. > > Reproducer: qemu-system-i386 -M none -nodefaults > > Signed-off-by: Hervé Poussineau <hpous...@reactos.org> > --- > ui/gtk.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-)
Oops, sorry! Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature