aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJiri Kosina <[email protected]>2024-10-29 15:44:35 +0100
committerJiri Kosina <[email protected]>2024-10-29 15:44:42 +0100
commit177f25d1292c7e16e1199b39c85480f7f8815552 (patch)
tree8e4d283d74a1dc5f6e97afda45d1fb4238de43e3 /tools/perf/scripts/python/task-analyzer.py
parent51268879eb2bfc563a91cdce69362d9dbf707e7e (diff)
HID: core: zero-initialize the report buffer
Since the report buffer is used by all kinds of drivers in various ways, let's zero-initialize it during allocation to make sure that it can't be ever used to leak kernel memory via specially-crafted report. Fixes: 27ce405039bf ("HID: fix data access in implement()") Reported-by: BenoĆ®t Sevens <[email protected]> Acked-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions