commit | 84181086342615a8c6cb28901fd8d67939b3c903 | [log] [tgz] |
---|---|---|
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | Mon Sep 23 14:23:33 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 25 16:48:46 2013 -0700 |
tree | 674202101ee0cc1e95c12575911c09d2e268aaf6 | |
parent | a4ec93d8b4647358aaa1bde4e1fc055e5f4cf711 [diff] |
staging: dwc2: validate urb->actual_length for OUT endpoints 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>