diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-08-29 09:27:52 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-01 10:19:03 +0200 |
commit | 503b3b33feca818baa4459aba286e54a528e5567 (patch) | |
tree | 8529bb5018ebc40965206147c655420d15047c34 /ui/spice-core.c | |
parent | 8b3030114a449e66c68450acaac4b66f26d91416 (diff) | |
download | qemu-503b3b33feca818baa4459aba286e54a528e5567.tar.gz qemu-503b3b33feca818baa4459aba286e54a528e5567.tar.bz2 qemu-503b3b33feca818baa4459aba286e54a528e5567.zip |
qxl-render: add more sanity checks
Damn, the dirty rectangle values are signed integers. So the checks
added by commit 788fbf042fc6d5aaeab56757e6dad622ac5f0c21 are not good
enough, 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 ]
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'ui/spice-core.c')
0 files changed, 0 insertions, 0 deletions