]> git.ipfire.org Git - thirdparty/qemu.git/commit
cirrus: allow zero source pitch in pattern fill rops
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 24 Jan 2017 15:35:38 +0000 (16:35 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 21 Mar 2017 20:01:05 +0000 (15:01 -0500)
commit205a61956394d01aca6764bc6596a7ea584c4a61
treed2c07d406037c1850a45c175c10460d3458c286a
parent5d26f91c89757a8b84f5da9c6dfa37cda19283c5
cirrus: allow zero source pitch in pattern fill rops

The rops used by cirrus_bitblt_common_patterncopy only use
the destination pitch, so the source pitch shoul allowed to
be zero and the blit with used for the range check around the
source address.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Message-id: 1485272138-23249-1-git-send-email-w.bumiller@proxmox.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 5858dd1801883309bdd208d72ddb81c4e9fee30c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/cirrus_vga.c