diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-03-21 22:05:47 +0100 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2026-03-23 10:10:59 +0100 |
| commit | 0fdbe845534f4e0b7243b7a44562c4486ce25fb4 (patch) | |
| tree | 5709dc6a40a97488b73191cd8ac0ac32072d0853 /tools/testing/selftests/cgroup/lib/git@git.tavy.me:linux.git | |
| parent | 4520b96b8136ba2465a3f4dc5c3fb8bdf3d92e4e (diff) | |
fanotify: replace deprecated strcpy in fanotify_info_copy_{name,name2}
strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy().
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260321210544.519259-4-thorsten.blum@linux.dev
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/testing/selftests/cgroup/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
