diff options
author | Kees Cook <kees@kernel.org> | 2024-07-10 03:13:08 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-18 07:05:18 +0300 |
commit | 0b84780134fb02525ef29ddcb88c3d560ba88a9c (patch) | |
tree | b515a63f3d68d7bb7e2b756e69a27149e2ba4816 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 53dabce2652fb854eae84609ce9c37429d5d87ba (diff) | |
download | linux-0b84780134fb02525ef29ddcb88c3d560ba88a9c.tar.xz |
mm/kmemleak: replace strncpy() with strscpy()
Replace the depreciated[1] strncpy() calls with strscpy(). Uses of
object->comm do not depend on the padding side-effect.
Link: https://github.com/KSPP/linux/issues/90 [1]
Link: https://lkml.kernel.org/r/20240710001300.work.004-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions