]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
m68k: emu: Replace unbounded sprintf() in nfhd_init_one()
authorThorsten Blum <thorsten.blum@linux.dev>
Wed, 18 Mar 2026 00:16:33 +0000 (01:16 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 8 Apr 2026 09:15:21 +0000 (11:15 +0200)
commit59747bec5d6e00a83ce5dfc8f7ac9b7113a11472
treeae25ca805a0e248692f0652fca962a6f660b5c06
parent5247c783dc11eba298b3a6c03470125a67bf8cda
m68k: emu: Replace unbounded sprintf() in nfhd_init_one()

Replace unbounded sprintf() with the safer snprintf().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20260318001632.2974-3-thorsten.blum@linux.dev
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/emu/nfblock.c