diff options
author | 2023-05-17 13:13:52 -0700 | |
---|---|---|
committer | 2023-05-30 16:42:01 -0700 | |
commit | d0f90841cba1931ee8284297deda53f098de5c82 (patch) | |
tree | 5a764eb1a96d67a47b7ca316f317079ff2e1edb3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ftrace: Replace all non-returning strlcpy with strscpy (diff) | |
download | wireguard-linux-d0f90841cba1931ee8284297deda53f098de5c82.tar.xz wireguard-linux-d0f90841cba1931ee8284297deda53f098de5c82.zip |
checkpatch: Check for strcpy and strncpy too
Warn about strcpy(), strncpy(), and strlcpy(). Suggest strscpy() and
include pointers to the open KSPP issues for each, which has further
details and replacement procedures.
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230517201349.never.582-kees@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions