diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-02-25 00:54:50 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2025-02-27 12:40:01 +0300 |
commit | 1bea9ab46d9f9871b71b078192699fc94287fcc4 (patch) | |
tree | e8ba8025b1227ba4ec0c33eb75b6637967d850cd /scripts/gdb/linux/utils.py | |
parent | 232085d118ff4695c0e9992ebc7ba4da7a24875e (diff) | |
download | linux-1bea9ab46d9f9871b71b078192699fc94287fcc4.tar.xz |
MIPS: Loongson2ef: 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>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions