commit | 5b22f676118ff25049382041da0db8012e57c9e8 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuahkh@osg.samsung.com> | Thu Apr 05 16:31:49 2018 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Apr 22 14:45:11 2018 +0200 |
tree | 7d5843e43ca3cbe50c73621feae6dab03938875c | |
parent | 83a62c51ba7b3c0bf45150c4eac7aefc6c785e94 [diff] |
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>