diff options
| author | Sean Christopherson <[email protected]> | 2020-01-26 16:41:11 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:57:31 +0100 |
| commit | d18b2f43b9147c8005ae0844fb445d8cc6a87e31 (patch) | |
| tree | d2f6876a8d5c16880415e645db7188ac3ca877fa /tools/perf/scripts/python | |
| parent | 168d918f2643d7d3f0240e768d40b4f8aba3540a (diff) | |
KVM: x86: Gracefully handle __vmalloc() failure during VM allocation
Check the result of __vmalloc() to avoid dereferencing a NULL pointer in
the event that allocation failres.
Fixes: d1e5b0e98ea27 ("kvm: Make VM ioctl do valloc for some archs")
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions