summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXu Panda <xu.panda@zte.com.cn>2022-12-26 19:05:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-17 19:31:08 +0100
commit78dde77b227f66ad95c15f001b2dc3d7e2aa0635 (patch)
tree4ab203098e8793c6b0f3f0cb9808e830da86d4b5 /tools/perf/scripts/python/export-to-postgresql.py
parent799468fb50e799552ad18e3774c80a56975157b7 (diff)
downloadlinux-78dde77b227f66ad95c15f001b2dc3d7e2aa0635.tar.gz
linux-78dde77b227f66ad95c15f001b2dc3d7e2aa0635.zip
staging: r8188eu: use strscpy() to instead of strncpy()
The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL-terminated strings. Signed-off-by: Xu Panda <xu.panda@zte.com.cn> Signed-off-by: Yang Yang <yang.yang29@zte.com> Reviewed-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/r/202212261905476729002@zte.com.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions