BALATON Zoltan ac2071c379 ati-vga: Fix checks in ati_2d_blt() to avoid crash
In some corner cases (that never happen during normal operation but a
malicious guest could program wrong values) pixman functions were
called with parameters that result in a crash. Fix this and add more
checks to disallow such cases.

Reported-by: Ziming Zhang <ezrakiez@gmail.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 20200406204029.19559747D5D@zero.eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-04-07 09:25:23 +02:00
..
2020-03-10 16:12:49 +01:00
2020-03-29 09:52:13 -04:00
2020-04-02 14:55:45 -04:00
2020-02-21 09:15:04 +11:00
2019-10-28 19:06:47 +01:00
2020-03-17 18:33:05 +00:00
2020-03-05 12:18:08 -05:00
2020-03-17 18:33:05 +00:00
2020-04-01 19:00:16 +02:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00