summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Laight <david.laight.linux@gmail.com>2026-06-08 10:55:03 +0100
committerUlf Hansson <ulfh@kernel.org>2026-09-02 18:00:19 +0200
commit0fda18b7f588382ed9f433fb0a7ec25fc61ab3fc (patch)
treed7ecc1c09881166872225bdbe5614d948694f006 /tools/perf/scripts/python/task-analyzer.py
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
mmc: core: Replace strcpy() in loop with memcpy() outside
When copying the info strings and generating a char ** list copy all the strings into the kmalloced buffer outside the loop and use strchr(str, 0) to find the next string inside the loop. Removes some strcpy() that static tools might think are unbounded. Signed-off-by: David Laight <david.laight.linux@gmail.com> Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions