[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qxl-render: add more sanity checks
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] qxl-render: add more sanity checks |
Date: |
Fri, 29 Aug 2014 09:57:17 +0200 |
On Fr, 2014-08-29 at 09:38 +0200, Gerd Hoffmann wrote:
> Damn, the dirty rectangle values are signed integers. So the checks
> added by commit 788fbf042fc6d5aaeab56757e6dad622ac5f0c21 are not good
> enouth, we also have to make sure they are not negative.
>
> [ Note: There must be something broken in spice-server so we get
> negative values in the first place. Bug opened:
> https://bugzilla.redhat.com/show_bug.cgi?id=1135372 ]
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
> ui/vnc.c | 42 ++++++++++++++++++++++--------------------
> ui/vnc.h | 1 +
Oops, scratch that, totally messed up :(