diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-02-20 01:47:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-22 02:51:26 +0300 |
commit | c451715d78e31a27afaad35ee0e9a915935cd6ea (patch) | |
tree | cb0e593ae746e071f266fdedf54db3e61c7a77f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 376cd9a2abe4b630e76ae5a3d68f7483edd42003 (diff) | |
download | linux-c451715d78e31a27afaad35ee0e9a915935cd6ea.tar.xz |
net/rds: Replace deprecated strncpy() with strscpy_pad()
strncpy() is deprecated for NUL-terminated destination buffers. Use
strscpy_pad() instead and remove the manual NUL-termination.
Compile-tested only.
Link: https://github.com/KSPP/linux/issues/90
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Tested-by: Allison Henderson <allison.henderson@oracle.com>
Link: https://patch.msgid.link/20250219224730.73093-2-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions