commit | f199a80cfece94b67f9e3d2955666e47c6051517 | [log] [tgz] |
---|---|---|
author | Vincent Pelletier <plr.vincent@gmail.com> | Tue Jan 17 13:20:11 2017 +0000 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jan 24 11:04:23 2017 +0200 |
tree | a74783987461264c63274010e67d50ceb67e4311 | |
parent | a98feef743a254fc976a1db8b773a3cd9fec1a30 [diff] |
usb: gadger: f_fs: Do not copy past descriptor end. Endpoint descriptors come in 2 sizes, struct usb_endpoint_descriptor being the largest. Use bLength to stop on endpoint descriptor boundary, and not 2 bytes too far. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>