diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2018-04-05 16:31:49 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-22 14:45:11 +0200 |
commit | 5b22f676118ff25049382041da0db8012e57c9e8 (patch) | |
tree | 7d5843e43ca3cbe50c73621feae6dab03938875c /drivers/usb/usbip/usbip_common.h | |
parent | 83a62c51ba7b3c0bf45150c4eac7aefc6c785e94 (diff) | |
download | lwn-5b22f676118ff25049382041da0db8012e57c9e8.tar.gz lwn-5b22f676118ff25049382041da0db8012e57c9e8.zip |
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/usb/usbip/usbip_common.h')
0 files changed, 0 insertions, 0 deletions