aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-07-15 13:35:18 +0300
committerKalle Valo <[email protected]>2022-07-18 13:04:11 +0300
commit7a4836560a6198d245d5732e26f94898b12eb760 (patch)
tree0ef3d708f58e2cf65c63f48c804ec47e0866d3b0 /tools/perf/scripts/python/bin/export-to-postgresql-report
parenteaedf62f7aaa4e2efd69c0fbd32ee774456ce361 (diff)
wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
The simple_write_to_buffer() function will succeed if even a single byte is initialized. However, we need to initialize the whole buffer to prevent information leaks. Just use memdup_user(). Fixes: ff974e408334 ("wil6210: debugfs interface to send raw WMI command") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/Ysg14NdKAZF/hcNG@kili
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions