From: | "Agostino Sarubbo (ago)" <ago@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/qemu/files: CVE-2014-5388.patch |
Date: | Wed, 27 Aug 2014 13:16:48 |
Message-Id: | 20140827131645.9C0443FC7@oystercatcher.gentoo.org |
1 | ago 14/08/27 13:16:45 |
2 | |
3 | Added: CVE-2014-5388.patch |
4 | Log: |
5 | Fix CVE-2014-5388 wrt bug #520688 |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 7194459F) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-emulation/qemu/files/CVE-2014-5388.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/files/CVE-2014-5388.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/qemu/files/CVE-2014-5388.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: CVE-2014-5388.patch |
16 | =================================================================== |
17 | https://lists.gnu.org/archive/html/qemu-devel/2014-08/msg03338.html |
18 | --- hw/acpi/pcihp.c.orig 2014-08-27 12:53:38.200621592 +0000 |
19 | +++ hw/acpi/pcihp.c 2014-08-27 12:53:58.390518561 +0000 |
20 | @@ -231,7 +231,7 @@ |
21 | uint32_t val = 0; |
22 | int bsel = s->hotplug_select; |
23 | |
24 | - if (bsel < 0 || bsel > ACPI_PCIHP_MAX_HOTPLUG_BUS) { |
25 | + if (bsel < 0 || bsel >= ACPI_PCIHP_MAX_HOTPLUG_BUS) { |
26 | return 0; |
27 | } |