]> git.ipfire.org Git - thirdparty/qemu.git/commit
display: cirrus: ignore source pitch value as needed in blit_is_unsafe
authorBruce Rogers <brogers@suse.com>
Mon, 9 Jan 2017 20:35:20 +0000 (13:35 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:10:39 +0000 (12:10 -0500)
commit2ab8276a1cb2bcd0d14d4e05c193252f370b8251
tree9147584d8a81e3b462e40a27e05eec7c31eb5cec
parent662a97d74f9b34cafe9aeb6d96620a97d768a1fa
display: cirrus: ignore source pitch value as needed in blit_is_unsafe

Commit 4299b90 added a check which is too broad, given that the source
pitch value is not required to be initialized for solid fill operations.
This patch refines the blit_is_unsafe() check to ignore source pitch in
that case. After applying the above commit as a security patch, we
noticed the SLES 11 SP4 guest gui failed to initialize properly.

Signed-off-by: Bruce Rogers <brogers@suse.com>
Message-id: 20170109203520.5619-1-brogers@suse.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 913a87885f589d263e682c2eb6637c6e14538061)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/cirrus_vga.c