aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2022-02-08 15:02:15 +0300
committerUlf Hansson <[email protected]>2022-02-28 13:06:23 +0100
commitf5d8a5fe77ce933f53eb8f2e22bb7a1a2019ea11 (patch)
treeb181f678859b9d19372e69c3673993c0e434974c /tools/perf/scripts/python/net_dropmonitor.py
parent75a2f412d0aed4a4a80ab2a2d96d040b17acb6d6 (diff)
mmc: core: use sysfs_emit() instead of sprintf()
sprintf() (still used in the MMC core for the sysfs output) is vulnerable to the buffer overflow. Use the new-fangled sysfs_emit() instead. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Signed-off-by: Sergey Shtylyov <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions