staging: dwc2: validate urb->actual_length for OUT endpoints
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Mon, 23 Sep 2013 21:23:33 +0000 (14:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:48:46 +0000 (16:48 -0700)
In dwc2_assign_and_init_hc(), validate urb->actual_length for OUT
endpoints before using the value. This fix is from the Synopsys
vendor driver.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found