On Mon, Apr 12, 2010 at 10:51:01AM +0200, Jens Osterkamp wrote: > > If the user wants to create a chardev of type socket but forgets to give a > host= option, qemu_opt_get returns NULL. This NULL pointer is then fed into > strlen a few lines below without a check which results in a segfault. > This fixes it. > > Signed-off-by: Jens Osterkamp <j...@linux.vnet.ibm.com>
Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net