All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vnc: fix qemu crash when not configure vnc option
@ 2015-01-29  9:27 arei.gonglei
  2015-01-29 12:55 ` Gonglei
  0 siblings, 1 reply; 2+ messages in thread
From: arei.gonglei @ 2015-01-29  9:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gonglei, kraxel, peter.huangpeng

From: Gonglei <arei.gonglei@huawei.com>

Reproducer:
$ x86_64-softmmu/qemu-system-x86_64
qemu-system-x86_64: Invalid parameter 'to'
Segmentation fault (core dumped)

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 ui/vnc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui/vnc.c b/ui/vnc.c
index a742c90..acff482 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3276,6 +3276,9 @@ static QemuOptsList qemu_vnc_opts = {
             .name = "connections",
             .type = QEMU_OPT_NUMBER,
         },{
+            .name = "to",
+            .type = QEMU_OPT_NUMBER,
+        },{
             .name = "password",
             .type = QEMU_OPT_BOOL,
         },{
-- 
1.7.12.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-29 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29  9:27 [Qemu-devel] [PATCH] vnc: fix qemu crash when not configure vnc option arei.gonglei
2015-01-29 12:55 ` Gonglei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.