summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-19 13:24:17 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-08-29 23:34:30 +0300
commit51f96bff04b05ee0683471fa33b11cce414e4b56 (patch)
treeff8cb8c3c44757d8fcab27fe46ffcbc3a9428f1f /scripts/gdb/linux/lists.py
parentb7c1ee2dfe03c106a391cdbcba8d41e23c4b1bcb (diff)
downloadlinux-51f96bff04b05ee0683471fa33b11cce414e4b56.tar.xz
MIPS: RB532: Replace deprecated strcpy() with memcpy() and strscpy()
strcpy() is deprecated; use memcpy() and strscpy() instead. Add the local variable 'size_t len' to keep track of the string lengths and prefer memcpy() over strscpy() when we use the string length to advance the 'cp' pointer. No functional changes intended. Link: https://github.com/KSPP/linux/issues/88 Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions