diff options
author | BALATON Zoltan | 2019-04-09 12:56:18 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2019-05-07 09:55:13 +0200 |
commit | 349ebdd76d3a932204f5831950a2af413c29c477 (patch) | |
tree | ee0d441a582cbe37758550ce2f2d5590822401e7 /hw/display/sm501.c | |
parent | qxl: avoid unaligned pointer reads/writes (diff) | |
download | qemu-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