diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-08-13 21:52:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 17:35:13 +0300 |
commit | 803394d03b43ba0ef4a9ed148de19c01d87cd13a (patch) | |
tree | 99a4c220b5a2fa54b9867e051f93aba23ecbd02d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6bef3f01398dc12532873f8b2376dba1339908bb (diff) | |
download | linux-803394d03b43ba0ef4a9ed148de19c01d87cd13a.tar.xz |
staging: ks7010: do not dereference priv if priv is null
priv is being dereferenced before a check for it being null
is made, so there is a possibililty a null pointer deference
can occur. Instead, only dereference priv if it is non-null.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions