[app-emulation/qemu] sync with tree
This commit is contained in:
parent
895b951d6b
commit
5f65959a3b
12
app-emulation/qemu/files/CVE-2014-5388.patch
Normal file
12
app-emulation/qemu/files/CVE-2014-5388.patch
Normal file
@ -0,0 +1,12 @@
|
||||
https://lists.gnu.org/archive/html/qemu-devel/2014-08/msg03338.html
|
||||
--- hw/acpi/pcihp.c.orig 2014-08-27 12:53:38.200621592 +0000
|
||||
+++ hw/acpi/pcihp.c 2014-08-27 12:53:58.390518561 +0000
|
||||
@@ -231,7 +231,7 @@
|
||||
uint32_t val = 0;
|
||||
int bsel = s->hotplug_select;
|
||||
|
||||
- if (bsel < 0 || bsel > ACPI_PCIHP_MAX_HOTPLUG_BUS) {
|
||||
+ if (bsel < 0 || bsel >= ACPI_PCIHP_MAX_HOTPLUG_BUS) {
|
||||
return 0;
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
nfs? ( net-fs/libnfs[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
@ -252,6 +252,7 @@ src_prepare() {
|
||||
use nls || rm -f po/*.po
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
epatch "${FILESDIR}"/CVE-2014-5388.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
Loading…
Reference in New Issue
Block a user