diff options
author | 2025-02-25 21:39:32 +0100 | |
---|---|---|
committer | 2025-03-06 10:26:36 +0100 | |
commit | ce43cf347759936bd7b16d66b5b5072757756e4a (patch) | |
tree | 755d346ecfa922bb63534fde85fb33d6ca39116d /scripts/lib/kdoc/kdoc_output.py | |
parent | drm/prime: Use dma_buf from GEM object instance (diff) | |
download | linux-rng-ce43cf347759936bd7b16d66b5b5072757756e4a.tar.xz linux-rng-ce43cf347759936bd7b16d66b5b5072757756e4a.zip |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions