Re: [Qemu-devel] [PATCH] console: Avoid dereferencing NULL active_console

2010-10-03 Thread Blue Swirl
Thanks, applied. On Mon, Sep 20, 2010 at 1:11 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com 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

Re: [Qemu-devel] [PATCH] console: Avoid dereferencing NULL active_console

2010-09-30 Thread Stefan Weil
Am 20.09.2010 15:11, schrieb Stefan Hajnoczi: 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

[Qemu-devel] [PATCH] console: Avoid dereferencing NULL active_console

2010-09-20 Thread Stefan Hajnoczi
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().