diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-13 10:38:29 +0300 |
|---|---|---|
| committer | Paul Mackerras <paulus@ozlabs.org> | 2017-08-31 12:36:44 +1000 |
| commit | 73e77c0982fd25ddb536339906412cbed78d0b79 (patch) | |
| tree | 47d28bea0d2da98c286e13486747cf64dd137044 /tools/perf/scripts/python/stackcollapse.py | |
| parent | kvm: nVMX: Validate the virtual-APIC address on nested VM-entry (diff) | |
| download | linux-73e77c0982fd25ddb536339906412cbed78d0b79.tar.gz linux-73e77c0982fd25ddb536339906412cbed78d0b79.zip | |
KVM: PPC: e500: Fix some NULL dereferences on error
There are some error paths in kvmppc_core_vcpu_create_e500() where we
forget to set the error code. It means that we return ERR_PTR(0) which
is NULL and it results in a NULL pointer dereference in the caller.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
