diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2021-01-29 15:00:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-29 14:16:50 +0100 |
commit | 03ed579d9d51aa018830b0de3e8b463faf6b87db (patch) | |
tree | 1779472473f85d0f5d284a444c9ee05818ab92a5 /samples/bpf/syscall_tp_kern.c | |
parent | b1adc42d440df3233255e313a45ab7e9b2b74096 (diff) |
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 'samples/bpf/syscall_tp_kern.c')
0 files changed, 0 insertions, 0 deletions