diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-01 17:20:40 +0200 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-04-01 12:26:07 -0700 |
| commit | 10cd6758e054e4002ccb409fef7dd2c6b7bbd549 (patch) | |
| tree | 8e4c7907372a2a8980cbf77731dca811d0defe3b /fs/msdos/git@git.tavy.me:linux.git | |
| parent | 4ced4cf5c9d172d91f181df3accdf949d3761aab (diff) | |
exec: use strnlen() in __set_task_comm
Use strnlen() to limit source string scanning to 'TASK_COMM_LEN - 1'
bytes.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260401152039.724811-3-thorsten.blum@linux.dev
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'fs/msdos/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
