diff options
| author | Jim Mattson <[email protected]> | 2019-01-17 19:55:58 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-04-30 22:43:44 +0000 |
| commit | e8ab8d24b488632d07ce5ddb261f1d454114415b (patch) | |
| tree | 1c9477e16bf77f84c60a6fd4da58eac069005e12 /tools/perf/scripts/python | |
| parent | Merge tag 'kvmarm-fixes-for-5.1-2' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
| download | kernel-e8ab8d24b488632d07ce5ddb261f1d454114415b.tar.gz kernel-e8ab8d24b488632d07ce5ddb261f1d454114415b.zip | |
KVM: nVMX: Fix size checks in vmx_set_nested_state
The size checks in vmx_nested_state are wrong because the calculations
are made based on the size of a pointer to a struct kvm_nested_state
rather than the size of a struct kvm_nested_state.
Reported-by: Felix Wilhelm <[email protected]>
Signed-off-by: Jim Mattson <[email protected]>
Reviewed-by: Drew Schmitt <[email protected]>
Reviewed-by: Marc Orr <[email protected]>
Reviewed-by: Peter Shier <[email protected]>
Reviewed-by: Krish Sadhukhan <[email protected]>
Fixes: 8fcc4b5923af5de58b80b53a069453b135693304
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
