Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
qemu-linux-user
0261-libqos-pci-pc-use-32-bit-write-for-.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0261-libqos-pci-pc-use-32-bit-write-for-.patch of Package qemu-linux-user
From: Dario Faggioli <dfaggioli@suse.com> Date: Mon, 7 Aug 2023 17:16:20 +0200 Subject: libqos: pci-pc: use 32-bit write for EJ register Git-commit: 4b7c06837ae0b1ff56473202a42e7e386f53d6db References: bsc#1172382 (CVE-2020-13754) The memory region ops have min_access_size == 4 so obey it. Tested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Dario Faggioli <dfaggioli@suse.com> --- tests/libqos/pci-pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqos/pci-pc.c b/tests/libqos/pci-pc.c index 585f5289ecbd69e5cd31e6fb8f7a..5cfe4966ca1be6766f4aa439bcab 100644 --- a/tests/libqos/pci-pc.c +++ b/tests/libqos/pci-pc.c @@ -167,7 +167,7 @@ void qpci_unplug_acpi_device_test(const char *id, uint8_t slot) g_assert(!qdict_haskey(response, "error")); qobject_unref(response); - outb(ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot); + outl(ACPI_PCIHP_ADDR + PCI_EJ_BASE, 1 << slot); qmp_eventwait("DEVICE_DELETED"); }
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