diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-02-25 23:39:32 +0300 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2025-03-06 12:26:36 +0300 |
commit | ce43cf347759936bd7b16d66b5b5072757756e4a (patch) | |
tree | 755d346ecfa922bb63534fde85fb33d6ca39116d /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | f83a9b8c7fd0557b0c50784bfdc1bbe9140c9bf8 (diff) | |
download | linux-ce43cf347759936bd7b16d66b5b5072757756e4a.tar.xz |
drm/gma500: Replace deprecated strncpy() with strscpy()
strncpy() is deprecated for NUL-terminated destination buffers. Use
strscpy() instead and remove the manual NUL-termination.
Compile-tested only.
Link: https://github.com/KSPP/linux/issues/90
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250225203932.334123-1-thorsten.blum@linux.dev
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions