diff options
Diffstat (limited to 'app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch')
-rw-r--r-- | app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch b/app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch new file mode 100644 index 000000000000..e3115c1ba9a7 --- /dev/null +++ b/app-emulation/qemu/files/qemu-2.5.1-CVE-2016-4020.patch @@ -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; |