diff options
author | 2025-02-13 15:10:36 +0100 | |
---|---|---|
committer | 2025-03-17 09:27:59 +1000 | |
commit | a7130910b80753d52ff8a493cf787bd1c9473404 (patch) | |
tree | fd6de203d831d7e8c8f9def816a51b6854933ffe /scripts/gdb/linux/utils.py | |
parent | m68k: Do not include <linux/fb.h> (diff) | |
download | wireguard-linux-a7130910b80753d52ff8a493cf787bd1c9473404.tar.xz wireguard-linux-a7130910b80753d52ff8a493cf787bd1c9473404.zip |
m68k: mm: 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>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions