Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
qemu-testsuite.19799
0332-qxl-check-release-info-object.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0332-qxl-check-release-info-object.patch of Package qemu-testsuite.19799
From: Prasad J Pandit <pjp@fedoraproject.org> Date: Thu, 25 Apr 2019 12:05:34 +0530 Subject: qxl: check release info object When releasing spice resources in release_resource() routine, if release info object 'ext.info' is null, it leads to null pointer dereference. Add check to avoid it. Reported-by: Bugs SysSec <bugs-syssec@rub.de> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Message-id: 20190425063534.32747-1-ppandit@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> (cherry picked from commit d52680fc932efb8a2f334cc6993e705ed1e31e99) [LY: BSC#1135902 CVE-2019-12155] Signed-off-by: Liang Yan <lyan@suse.com> --- hw/display/qxl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 919dc5cd362f5b6e127e637edb3a..bbdf6f2c3a26ab4d3558f273d9dd 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -710,6 +710,9 @@ static void interface_release_resource(QXLInstance *sin, QXLReleaseRing *ring; uint64_t *item, id; + if (!ext.info) { + return; + } if (ext.group_id == MEMSLOT_GROUP_HOST) { /* host group -> vga mode update request */ QXLCommandExt *cmdext = (void *)(intptr_t)(ext.info->id);
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