aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2021-01-29 15:00:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-29 14:16:50 +0100
commit03ed579d9d51aa018830b0de3e8b463faf6b87db (patch)
tree1779472473f85d0f5d284a444c9ee05818ab92a5 /tools/perf/scripts/python/exported-sql-viewer.py
parentxhci: add xhci_get_virt_ep() helper (diff)
downloadlinux-03ed579d9d51aa018830b0de3e8b463faf6b87db.tar.gz
linux-03ed579d9d51aa018830b0de3e8b463faf6b87db.zip
xhci: check virt_dev is valid before dereferencing it
Check that the xhci_virt_dev structure that we dug out based on a slot_id value from a command completion is valid before dereferencing it. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20210129130044.206855-7-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions