summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2017-04-23 20:04:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-24 10:58:43 +0100
commit6e9506bf2f382e26e9fce28b2b707c87cfc0ed1b (patch)
tree3d840ab33a79d3aaeed0910549f210877a646089 /tools/perf/scripts/python/export-to-postgresql.py
parent39e7fce28c03b4701c9af3ba4f18e052936e0207 (diff)
qlcnic: fix unchecked return value
[ Upstream commit 91ec701a553cb3de470fd471c6fefe3ad1125455 ] Function pci_find_ext_capability() may return 0, which is an invalid address. In function qlcnic_sriov_virtid_fn(), its return value is used without validation. This may result in invalid memory access bugs. This patch fixes the bug. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@microsoft.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