diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-09 19:02:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-14 10:03:50 +0100 |
commit | af21211c327c4703c7681fa7286c4d660682e413 (patch) | |
tree | 1fdc8e94285ba2aa6550baae51a2caafbc176b7b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 93cd7100fe471c5f76fb942358de4ed70dbcaf35 (diff) |
USB: gadget: zero allocate endpoint 0 buffers
commit 86ebbc11bb3f60908a51f3e41a17e3f477c2eaa3 upstream.
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions