diff options
| author | Kees Cook <[email protected]> | 2023-05-17 20:13:52 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2023-05-30 23:42:01 +0000 |
| commit | d0f90841cba1931ee8284297deda53f098de5c82 (patch) | |
| tree | 5a764eb1a96d67a47b7ca316f317079ff2e1edb3 /lib/debugobjects.c | |
| parent | ftrace: Replace all non-returning strlcpy with strscpy (diff) | |
| download | kernel-d0f90841cba1931ee8284297deda53f098de5c82.tar.gz kernel-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 <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Dwaipayan Ray <[email protected]>
Cc: Lukas Bulwahn <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
