diff options
| author | Vicki Pfau <vi@endrift.com> | 2026-07-29 21:12:32 -0700 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-08-03 21:00:27 +0200 |
| commit | 9f8ee99f831b2711624ef81d0abba1d183f28b09 (patch) | |
| tree | 03bec635933009b26914e42e997bafc90fba2e63 /tools/perf/scripts/python | |
| parent | de435b770cd9492b803346b84df69fe345b845f2 (diff) | |
HID: steam: Zero-initialize reply in serial lookup
When requesting the serial number from a controller, the function will do
some basic bounds checking to make sure the reply is valid, as well as
capping off the reply with a null byte before copying. However, the error
logging can leak uninitialized memory in some cases. We can simplify and
solve this by just zero-initalizing the reply memory eagerly instead.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
