KVM: x86: check bounds of APIC maps
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 27 Nov 2014 22:30:19 +0000 (23:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Dec 2014 14:29:08 +0000 (15:29 +0100)
commit25995e5b4aa308e5264cf7cf3e86871acf6a8b8c
treebe706ffb9a0c4f2cd99dfa296ae28e0139609bc3
parentfa834e919788dfa0965495f21760eb38fe480342
KVM: x86: check bounds of APIC maps

They can't be violated now, but play it safe for the future.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c