qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL for-2.0 0/1] spice: monitors_config: check pointer before dereferencing
@ 2014-04-07 10:21 Gerd Hoffmann
  2014-04-07 10:21 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
  2014-04-07 12:05 ` [Qemu-devel] [PULL for-2.0 0/1] " Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2014-04-07 10:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  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(+)

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

* [Qemu-devel] [PULL 1/1] spice: monitors_config: check pointer before dereferencing
  2014-04-07 10:21 [Qemu-devel] [PULL for-2.0 0/1] spice: monitors_config: check pointer before dereferencing Gerd Hoffmann
@ 2014-04-07 10:21 ` Gerd Hoffmann
  2014-04-07 12:05 ` [Qemu-devel] [PULL for-2.0 0/1] " Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2014-04-07 10:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann, Anthony Liguori

Reported-by: Fabio Fantoni <fabio.fantoni@m2r.biz>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/spice-display.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ui/spice-display.c b/ui/spice-display.c
index e28698c..ce6b220 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -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.
-- 
1.8.3.1

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

* Re: [Qemu-devel] [PULL for-2.0 0/1] spice: monitors_config: check pointer before dereferencing
  2014-04-07 10:21 [Qemu-devel] [PULL for-2.0 0/1] spice: monitors_config: check pointer before dereferencing Gerd Hoffmann
  2014-04-07 10:21 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
@ 2014-04-07 12:05 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2014-04-07 12:05 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: QEMU Developers

On 7 April 2014 11:21, Gerd Hoffmann <kraxel@redhat.com> wrote:
>   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(+)
>

Applied, thanks.

-- PMM

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

end of thread, other threads:[~2014-04-07 12:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 10:21 [Qemu-devel] [PULL for-2.0 0/1] spice: monitors_config: check pointer before dereferencing Gerd Hoffmann
2014-04-07 10:21 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2014-04-07 12:05 ` [Qemu-devel] [PULL for-2.0 0/1] " Peter Maydell

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).