summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-05-04 10:18:05 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2026-05-18 11:16:21 +0200
commitc62a693d8d6b052e562bd471df59b8ec05da3fbd (patch)
treef7b04ec669f1ee72632cfd16683f18a3265d13c3 /scripts/Makefile.thinlto
parentbcb685e15ee66daec68025a40be3b54156ad0410 (diff)
dio: Replace deprecated strcpy with strscpy in dio_init
strcpy() has been deprecated [1] because it performs no bounds checking on the destination buffer, which can lead to buffer overflows. While the current code works correctly, replace strcpy() with the safer strscpy() to follow secure coding best practices. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/20260504081804.3260-3-thorsten.blum@linux.dev Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions