aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPan Bian <[email protected]>2017-04-23 09:18:29 -0300
committerMauro Carvalho Chehab <[email protected]>2017-06-06 07:29:15 -0300
commitb9150e8131914df75d396a5730a599d358f016d8 (patch)
tree653de1141824cf79a85814bb054c1a538966d64a /tools/perf/scripts/python/bin
parent13174c388a76005c1abe454e47a37cd57edd8c8d (diff)
[media] cobalt: fix unchecked return values
Function pci_find_ext_capability() may return 0, which is an invalid address. In function cobalt_pcie_status_show(), its return value is used without validation. This patch adds checks to validate the return address. Signed-off-by: Pan Bian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions