diff options
author | Alon Levy <alevy@redhat.com> | 2012-10-15 14:54:03 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-05 11:49:21 +0100 |
commit | 48f4ba671bbb3dd212002d57b72a23375f51619b (patch) | |
tree | 71797b6ea1c0b72b9f0df6e20e27b207b10d5153 /json-lexer.c | |
parent | 1cfd981ff1e8ff0858cd71cfae0c7c7ba741f380 (diff) |
hw/qxl: guest bug on primary create with stride %4 != 0
Due to usage of pixman for rendering on all spice surfaces we have
pixman's requirement that the stride be word aligned. A guest not
honoring that can crash spice and qemu with it due to failure to create
a surface (in spice-server). Avoid this early on in primary surface
creation and offscreen surface creation.
Recently windows guests got odd width support which triggers a non word
aligned primary surface in 16bit color depth. Off screen surfaces have
always been word aligned, but doesn't hurt to check them here too.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'json-lexer.c')
0 files changed, 0 insertions, 0 deletions