* [Qemu-devel] [PATCH] ui/spice-core: fix segfault in monitor
@ 2011-10-04 11:25 Alon Levy
2011-10-14 13:22 ` Gerd Hoffmann
0 siblings, 1 reply; 2+ messages in thread
From: Alon Levy @ 2011-10-04 11:25 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel
Fix segfault if a qxl device is present but no spice command line
argument is given.
RHBZ 743251.
Signed-off-by: Alon Levy <alevy@redhat.com>
---
ui/spice-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 3cbc721..b14d1d9 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -413,7 +413,7 @@ void do_info_spice(Monitor *mon, QObject **ret_data)
int port, tls_port;
char version_string[20]; /* 12 = |255.255.255\0| is the max */
- if (!spice_server) {
+ if (!spice_server || !opts) {
*ret_data = qobject_from_jsonf("{ 'enabled': false }");
return;
}
--
1.7.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] ui/spice-core: fix segfault in monitor
2011-10-04 11:25 [Qemu-devel] [PATCH] ui/spice-core: fix segfault in monitor Alon Levy
@ 2011-10-14 13:22 ` Gerd Hoffmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2011-10-14 13:22 UTC (permalink / raw)
To: Alon Levy; +Cc: qemu-devel
On 10/04/11 13:25, Alon Levy wrote:
> Fix segfault if a qxl device is present but no spice command line
> argument is given.
>
> RHBZ 743251.
Added to spice patch queue.
thanks,
Gerd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-14 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-04 11:25 [Qemu-devel] [PATCH] ui/spice-core: fix segfault in monitor Alon Levy
2011-10-14 13:22 ` Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).