diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2021-12-13 14:05:28 +0100 |
---|---|---|
committer | mdb:android-git <superproject-auto-update@invalid> | 2021-12-13 13:45:50 +0000 |
commit | 8e95d0dd2bc2d5224c290586147468d1bca6f88d (patch) | |
tree | e4811ef4259a1c4f6515e8bf3a3a3a465133bff4 | |
parent | 04f1af198b9f756decf93abbda3d2f4815d611e7 (diff) | |
download | superproject-8e95d0dd2bc2d5224c290586147468d1bca6f88d.tar.gz |
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 86ebbc11bb3f60908a51f3e41a17e3f477c2eaa3)
Bug: 210292367
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I72b4376cd4296a8b8af0ade2d702cd420146f3aa
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
m--------- | common | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/common b/common -Subproject bedab629a09ae0e564ece7e7ce37cd49e62f206 +Subproject 049f3bc2fb9e17046a5dee6f0f05be8fb6361d7 |