On 09/20/10 15:11, Stefan Hajnoczi wrote:
The console_select() function does not check that active_console is
non-NULL before dereferencing it.  When invoked with qemu -nodefaults it
is possible to hit this case.

This patch checks that active_console is non-NULL before stashing away
the old console dimensions in console_select().

Looks sane to me, simliar tests exist in other places.

Acked-by: Gerd Hoffmann <kra...@redhat.com>

cheers,
  Gerd

Reply via email to