Files
linux/drivers
Greg Kroah-Hartman 53afb231f5 UPSTREAM: USB: gadget: zero allocate endpoint 0 buffers
Under some conditions, USB gadget devices can show allocated buffer
contents to a host.  Fix this up by zero-allocating them so that any
extra data will all just be zeros.

Reported-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Tested-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 86ebbc11bb)
Bug: 210292367
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I72b4376cd4296a8b8af0ade2d702cd420146f3aa
2021-12-14 13:54:22 +01:00
..
2021-09-15 09:50:26 +02:00
2021-08-27 20:51:37 +02:00
2021-09-15 09:50:30 +02:00
2021-07-20 16:05:42 +02:00
2021-09-15 14:16:47 +02:00
2021-07-14 16:55:53 +02:00
2021-09-15 14:16:47 +02:00
2021-09-15 14:16:47 +02:00
2021-07-14 17:35:23 +02:00
2021-09-03 10:51:56 +02:00
2021-09-15 14:16:47 +02:00
2021-08-26 08:35:46 -04:00
2021-07-28 15:23:47 +02:00
2021-05-20 15:35:25 +02:00
2021-07-25 15:37:14 +02:00
2021-09-15 14:16:47 +02:00
2021-09-15 14:16:47 +02:00