]> git.ipfire.org Git - thirdparty/qemu.git/commit
cirrus: fix off-by-one in cirrus_bitblt_rop_bkwd_transp_*_16
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 17 Mar 2017 07:21:36 +0000 (08:21 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 21 Mar 2017 20:03:41 +0000 (15:03 -0500)
commitdc35a13747843688690d5779ef22f2a62dfd6d3b
tree51ef17f8e7b92997be991c96cd24044969e769f5
parenta290442234fa214fcb7f45fc91d802bcb8d05c4b
cirrus: fix off-by-one in cirrus_bitblt_rop_bkwd_transp_*_16

The switch from pointers to addresses (commit
026aeffcb4752054830ba203020ed6eb05bcaba8 and
ffaf857778286ca54e3804432a2369a279e73aa7) added
a off-by-one bug to 16bit backward blits.  Fix.

Reported-by: 李强 <liqiang6-s@360.cn>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Li Qiang <liqiang6-s@360.cn>
Message-id: 1489735296-19047-1-git-send-email-kraxel@redhat.com
(cherry picked from commit f019722cbbb45aea153294fc8921fcc96a4d3fa2)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/cirrus_vga_rop.h