Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
qemu-testsuite.12243
0302-Adding-uuid-header-file-to-files-us.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0302-Adding-uuid-header-file-to-files-us.patch of Package qemu-testsuite.12243
From 2d56324eadcd0bf0d1e07a71a44eebba3ba1e8f3 Mon Sep 17 00:00:00 2001 From: Larry Dewey <ldewey@suse.com> Date: Thu, 4 Oct 2018 14:32:51 -0600 Subject: [PATCH] Adding uuid header file to files using UUID_FMT The following files have received the header qemu/uuid.h because they are calling UUID_FMT, which it defines: - block/vdi.c - hw/xenpv/xen_domainbuild.c - hw/ppc/spapr.c - qmp.c [LD: BSC#1106222 CVE-2018-15746] Signed-off-by: Larry Dewey <ldewey@suse.com> --- block/vdi.c | 1 + hw/ppc/spapr.c | 1 + hw/xenpv/xen_domainbuild.c | 1 + qmp.c | 1 + 4 files changed, 4 insertions(+) diff --git a/block/vdi.c b/block/vdi.c index 12ab3a64d8..80ec7c6fa2 100644 --- a/block/vdi.c +++ b/block/vdi.c @@ -57,6 +57,7 @@ #include "migration/migration.h" #include "qemu/coroutine.h" #include "qemu/cutils.h" +#include "qemu/uuid.h" #if defined(CONFIG_UUID) #include <uuid/uuid.h> diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index b69995e0dc..6a8fca5b19 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -60,6 +60,7 @@ #include "hw/usb.h" #include "qemu/config-file.h" #include "qemu/error-report.h" +#include "qemu/uuid.h" #include "trace.h" #include "hw/nmi.h" diff --git a/hw/xenpv/xen_domainbuild.c b/hw/xenpv/xen_domainbuild.c index 5a9f5ac806..54b2028456 100644 --- a/hw/xenpv/xen_domainbuild.c +++ b/hw/xenpv/xen_domainbuild.c @@ -3,6 +3,7 @@ #include "xen_domainbuild.h" #include "qemu/timer.h" #include "qemu/log.h" +#include "qemu/uuid.h" #include <xenguest.h> diff --git a/qmp.c b/qmp.c index e8ed3fc910..3e4ada72df 100644 --- a/qmp.c +++ b/qmp.c @@ -35,6 +35,7 @@ #include "qom/object_interfaces.h" #include "hw/mem/pc-dimm.h" #include "hw/acpi/acpi_dev_interface.h" +#include "qemu/uuid.h" NameInfo *qmp_query_name(Error **errp) {
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