diff options
author | Jan Kiszka <[email protected]> | 2009-07-02 21:45:47 +0200 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2009-08-05 13:58:03 +0300 |
commit | e125e7b6944898831b56739a5448e705578bf7e2 (patch) | |
tree | 27bdf220e2bedfd20358627563509089e8584003 /net/lapb/lapb_iface.c | |
parent | 90bc1a658a53f8832ee799685703977a450e5af9 (diff) |
KVM: Fix KVM_GET_MSR_INDEX_LIST
So far, KVM copied the emulated_msrs (only MSR_IA32_MISC_ENABLE) to a
wrong address in user space due to broken pointer arithmetic. This
caused subtle corruption up there (missing MSR_IA32_MISC_ENABLE had
probably no practical relevance). Moreover, the size check for the
user-provided kvm_msr_list forgot about emulated MSRs.
Cc: [email protected]
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions