On Wed, May 22, 2019 at 12:33:47AM -0700, Andrey Smirnov wrote: > Since cbw.Length can be less that sizeof(cbw.CDB), add code to zero > the whole struct out to avoid sending random stack data as a part of > payload. There's no known case where this causes a problem, but it's a > reasonable thing to do anyway. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > --- > drivers/usb/storage/transport.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox