提交 dc491cfc 编写于 作者: G Gerd Hoffmann

spice: monitors_config: check pointer before dereferencing

Reported-by: NFabio Fantoni <fabio.fantoni@m2r.biz>
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 466e6e9d
......@@ -549,6 +549,10 @@ static int interface_client_monitors_config(QXLInstance *sin,
QemuUIInfo info;
int rc;
if (!mc) {
return 1;
}
/*
* FIXME: multihead is tricky due to the way
* spice has multihead implemented.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册