aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2017-05-18 19:37:30 +0200
committerMoyster <oysterized@gmail.com>2017-11-06 15:32:51 +0100
commit223852c488425358ea598160a98c44a2c5aa795b (patch)
tree4f86536cc4f7d77917d5006bc762ce495b269ca1 /net
parentc0f6551b23089a3249e4a4cf2bc264bd158deeea (diff)
KVM: x86: zero base3 of unusable segments
commit f0367ee1d64d27fa08be2407df5c125442e885e3 upstream. 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> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions