Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
qemu.4227
0143-cirrus-don-t-overflow-CirrusVGAStat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0143-cirrus-don-t-overflow-CirrusVGAStat.patch of Package qemu.4227
From fba485c9cab4cbfe3910821542136ad81afc15ca Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann <kraxel@redhat.com> Date: Wed, 19 Nov 2014 13:27:28 +0100 Subject: [PATCH] cirrus: don't overflow CirrusVGAState->cirrus_bltbuf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is CVE-2014-8106. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit bf25983345ca44aec3dd92c57142be45452bd38a) [AF: BNC#907805] Signed-off-by: Andreas Färber <afaerber@suse.de> --- hw/display/cirrus_vga.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c index 757ab633b2..1a66fcf91d 100644 --- a/hw/display/cirrus_vga.c +++ b/hw/display/cirrus_vga.c @@ -292,6 +292,10 @@ static bool blit_is_unsafe(struct CirrusVGAState *s) assert(s->cirrus_blt_width > 0); assert(s->cirrus_blt_height > 0); + if (s->cirrus_blt_width > CIRRUS_BLTBUFSIZE) { + return true; + } + if (blit_region_is_unsafe(s, s->cirrus_blt_dstpitch, s->cirrus_blt_dstaddr & s->cirrus_addr_mask)) { return true;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor