summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPo-Sheng Lin <posheng.lin.tw@gmail.com>2026-07-06 01:36:48 +0800
committerSteven Rostedt <rostedt@goodmis.org>2026-07-28 07:18:50 -0400
commitdca6a22aee1b9fb2fe26823bc3b302e8eba8d05c (patch)
tree85cc2518398877e98f61fa489a6aaf877583265e /tools/perf/scripts/python/exported-sql-viewer.py
parentb5cc230af5e536ff752f8bd5c30e23612936d5c3 (diff)
tracing: Use strscpy() instead of strcpy() in trace_sched_switch
Replace strcpy() with strscpy() in __trace_find_cmdline() for consistency with the existing strscpy() call in the same function, and to avoid potential buffer overflow as flagged by the Kernel Self Protection Project. Link: https://patch.msgid.link/20260705173648.5418-1-posheng.lin.tw@gmail.com Signed-off-by: Po-Sheng Lin <posheng.lin.tw@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions