diff options
author | 2018-03-21 19:19:41 +0000 | |
---|---|---|
committer | 2018-03-22 18:23:10 +0100 | |
commit | aaea2164bdff39697d0f1ec69dcae62632e37974 (patch) | |
tree | 74aabce1117541b52efbffc448910f74c5628b9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: wilc1000: replace switch statement by simple if condition (diff) | |
download | linux-dev-aaea2164bdff39697d0f1ec69dcae62632e37974.tar.xz linux-dev-aaea2164bdff39697d0f1ec69dcae62632e37974.zip |
staging: wilc1000: check for kmalloc allocation failures
There are three kmalloc allocations that are not null checked which
potentially could lead to null pointer dereference issues. Fix this
by adding null pointer return checks.
Detected by CoverityScan, CID#1466025-27 ("Dereference null return")
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions