commit | f0367ee1d64d27fa08be2407df5c125442e885e3 | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Thu May 18 19:37:30 2017 +0200 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Fri May 19 19:59:27 2017 +0200 |
tree | 9537fcc0cca299cb5a60a1eb4a7f05bbfd5e01a3 | |
parent | cbfc6c9184ce71b52df4b1d82af5afc81a709178 [diff] |
KVM: x86: zero base3 of unusable segments Static checker noticed that base3 could be used uninitialized if the segment was not present (useable). Random stack values probably would not pass VMCS entry checks. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 1aa366163b8b ("KVM: x86 emulator: consolidate segment accessors") Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>