spice: monitors_config: check pointer before dereferencing
Hi,
Simple spice bugfix for 2.0.
please pull,
Gerd
The following changes since commit 466e6e9d13d56bbb6da1d2396d7d6347df483af0:
target-i386: reorder fields in cpu/msr_hyperv_hypercall subsection (2014-04-05 10:49:05 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu tags/pull-spice-6
for you to fetch changes up to dc491cfc14074064ed54a872b62cce6ca1330644:
spice: monitors_config: check pointer before dereferencing (2014-04-07 12:18:43 +0200)
----------------------------------------------------------------
spice: monitors_config: check pointer before dereferencing
----------------------------------------------------------------
Gerd Hoffmann (1):
spice: monitors_config: check pointer before dereferencing
ui/spice-display.c | 4 ++++ 1 file changed, 4 insertions(+)
--- ui/spice-display.c | 4 ++++ 1 file changed, 4 insertions(+)
ui/spice-display.c +4 -0
@@ -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.
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 22 lines · Gerd Hoffmann
Hi,
Simple spice bugfix for 2.0.
please pull,
GerdThe following changes since commit
466e6e9d13d56bbb6da1d2396d7d6347df483af0:target-i386: reorder fields in cpu/msr_hyperv_hypercall subsection (2014-04-05 10:49:05 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemutags/pull-spice-6for you to fetch changes up to
dc491cfc14074064ed54a872b62cce6ca1330644:spice:
monitors_config: check pointer before dereferencing (2014-04-07 12:18:43 +0200)----------------------------------------------------------------
spice:monitors_config: check pointer before dereferencing
Quoted 7 lines
----------------------------------------------------------------
Gerd Hoffmann (1):
spice:monitors_config: check pointer before dereferencingui/spice-display.c | 4 ++++ 1 file changed, 4 insertions(+)
Applied, thanks.
-- PMM