Re: [Qemu-devel] [PATCH] gtk: Don't crash if -nodefaults

2014-11-20 Thread Gerd Hoffmann
On Fr, 2014-11-21 at 09:59 +0800, Fam Zheng wrote: > This fixes a crash by just skipping the vte resize hack if cur is > NULL. Picked up for 2.2. thanks, Gerd

[Qemu-devel] [PATCH] gtk: Don't crash if -nodefaults

2014-11-20 Thread Fam Zheng
This fixes a crash by just skipping the vte resize hack if cur is NULL. Reproducer: qemu-system-x86_64 -nodefaults Signed-off-by: Fam Zheng --- ui/gtk.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index 38bf463..29e09a7 100644 --- a/