]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: fix use of uninitialized memory as segment descriptor in emulator.
authorGleb Natapov <gleb@redhat.com>
Mon, 21 Jan 2013 13:36:48 +0000 (15:36 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 24 Jan 2013 02:40:31 +0000 (00:40 -0200)
commit43a220ca43c00c9d9a0bdd1cb31671b5b497f9f4
tree765795d3fb0e37b87ba5b37d119b2731809ec64b
parent94057b771e4c9d8e510a583111c373bd1ec2be50
KVM: x86: fix use of uninitialized memory as segment descriptor in emulator.

If VMX reports segment as unusable, zero descriptor passed by the emulator
before returning. Such descriptor will be considered not present by the
emulator.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c