summaryrefslogtreecommitdiffstats
path: root/hw/display/sm501.c
diff options
context:
space:
mode:
authorBALATON Zoltan2019-04-09 12:56:18 +0200
committerGerd Hoffmann2019-05-07 09:55:13 +0200
commit349ebdd76d3a932204f5831950a2af413c29c477 (patch)
treeee0d441a582cbe37758550ce2f2d5590822401e7 /hw/display/sm501.c
parentqxl: avoid unaligned pointer reads/writes (diff)
downloadqemu-349ebdd76d3a932204f5831950a2af413c29c477.tar.gz
qemu-349ebdd76d3a932204f5831950a2af413c29c477.tar.xz
qemu-349ebdd76d3a932204f5831950a2af413c29c477.zip
ati-vga: Fix check for blt outside vram
Fix the check preventing calling pixman functions that would access memory outside allocated vram. The r128 X driver sometimes seem to try blits that span outside vram, this check prevents crashing QEMU in that case. (The r128 X driver may have problems even on real hardware so I'm not sure if it's a client bug or emulation problem but at least QEMU should survive.) Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Tested-by: Andrew Randrianasulu <randrianasulu@gmail.com> Message-Id: <20190409110732.5C5FF7465DB@zero.eik.bme.hu> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/sm501.c')
0 files changed, 0 insertions, 0 deletions