aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCandy Febriyanto <[email protected]>2021-03-01 21:58:17 +0700
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:25:31 +0100
commit41b25593bc7e7df60e40a352b21f2ebfa9d9f53f (patch)
tree05bdb4912110ab4ac9d60ac9a3fe9b083a68da83 /tools/perf/scripts/python
parent5fc95c4034d11f79595d2bcb4bc6fbe316fe51a1 (diff)
staging: rtl8723bs: core: Replace sprintf with scnprintf
The use of sprintf with format string here means that there is a risk that the writes will go out of bounds, replace it with scnprintf. In on_action_public_default the variable "cnt" isn't being used for anything meaningful so remove it. Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Candy Febriyanto <[email protected]> Link: https://lore.kernel.org/r/6c260641164d6856fc4447555fe739124cb27c19.1614610197.git.cfebriyanto@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions