mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
m68knommu: Replace deprecated strcpy with strscpy in init_ucsimm
strcpy() has been deprecated [1] because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. Replace it with the safer strscpy(). Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Greg Ungerer <gerg@kernel.org>
This commit is contained in:
parent
590fe2f46c
commit
a16ac6ca46
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue