diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2018-04-06 01:31:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-22 15:45:11 +0300 |
commit | 5b22f676118ff25049382041da0db8012e57c9e8 (patch) | |
tree | 7d5843e43ca3cbe50c73621feae6dab03938875c /drivers/thunderbolt/nhi.h | |
parent | 83a62c51ba7b3c0bf45150c4eac7aefc6c785e94 (diff) | |
download | linux-5b22f676118ff25049382041da0db8012e57c9e8.tar.xz |
usbip: vhci_hcd: check rhport before using in vhci_hub_control()
Validate !rhport < 0 before using it to access port_status array.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/nhi.h')
0 files changed, 0 insertions, 0 deletions