diff options
| author | 2017-07-13 10:38:49 +0300 | |
|---|---|---|
| committer | 2017-08-31 12:36:44 +1000 | |
| commit | 50a1a25987146c5ab15d6c1642a5043730ace0a5 (patch) | |
| tree | d29f5f801fdb0178fb1c3f741b6d718252b7729c /tools/perf/scripts/python/stackcollapse.py | |
| parent | KVM: PPC: e500: Fix some NULL dereferences on error (diff) | |
KVM: PPC: e500mc: Fix a NULL dereference
We should set "err = -ENOMEM;", otherwise it means we're returning
ERR_PTR(0) which is NULL. 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
