Re: [PATCH] usbip: vhci_hcd: do proper error handling

From: Shuah Khan
Date: Fri Mar 26 2021 - 16:25:49 EST


On 3/25/21 5:46 AM, Muhammad Usama Anjum wrote:
The driver was assuming that all the parameters would be valid. But it
is possible that parameters are sent from userspace. For those cases,
appropriate error checks have been added.


Are you sure this change is necessary for vhci_hcd? Is there a
scenario where vhci_hcd will receive these values from userspace?

Is there a way to reproduce the problem?

thanks,
-- Shuah