[app-emulation/qemu] sync with tree
This commit is contained in:
16
app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch
Normal file
16
app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg01106.html
|
||||
https://bugs.gentoo.org/580040
|
||||
|
||||
diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c
|
||||
index c69f374..ff1e31a 100644
|
||||
--- a/hw/i386/kvmvapic.c
|
||||
+++ b/hw/i386/kvmvapic.c
|
||||
@@ -394,7 +394,7 @@ static void patch_instruction(VAPICROMState *s, X86CPU *cpu, target_ulong ip)
|
||||
CPUX86State *env = &cpu->env;
|
||||
VAPICHandlers *handlers;
|
||||
uint8_t opcode[2];
|
||||
- uint32_t imm32;
|
||||
+ uint32_t imm32 = 0;
|
||||
target_ulong current_pc = 0;
|
||||
target_ulong current_cs_base = 0;
|
||||
int current_flags = 0;
|
||||
Reference in New Issue
Block a user