summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-13 17:10:36 +0300
committerGreg Ungerer <gerg@kernel.org>2025-03-17 02:27:59 +0300
commita7130910b80753d52ff8a493cf787bd1c9473404 (patch)
treefd6de203d831d7e8c8f9def816a51b6854933ffe /tools/perf/util/scripting-engines/trace-event-python.c
parent3d222ebf741be71cffed2e34cb437f0f751a7ca6 (diff)
downloadlinux-a7130910b80753d52ff8a493cf787bd1c9473404.tar.xz
m68k: mm: Replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers. Use strscpy() instead and remove the manual NUL-termination. Compile-tested only. Link: https://github.com/KSPP/linux/issues/90 Cc: linux-hardening@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Kees Cook <kees@kernel.org> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions