diff options
author | 2017-04-23 20:04:04 +0800 | |
---|---|---|
committer | 2017-04-24 16:10:53 -0400 | |
commit | 91ec701a553cb3de470fd471c6fefe3ad1125455 (patch) | |
tree | 542d0fcd16478312c482e5a629fdf0210d44077d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wan: pc300too: abort path on failure (diff) | |
download | wireguard-linux-91ec701a553cb3de470fd471c6fefe3ad1125455.tar.xz wireguard-linux-91ec701a553cb3de470fd471c6fefe3ad1125455.zip |
qlcnic: fix unchecked return value
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions