linux/arch/m68k/sun3
Thorsten Blum cb39cf99d8 m68k: sun3: Replace vsprintf() with bounded vsnprintf()
vsprintf() performs no bounds checking and can overflow - replace it
with the safer vsnprintf().

Also remove the useless '+ 1' that is a leftover of commit 66ed28ea09
("m68k: sun3: Remove unused vsprintf() return value in prom_printf()").

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20260117202152.1036278-2-thorsten.blum@linux.dev
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2026-01-26 12:26:01 +01:00
..
prom m68k: sun3: Replace vsprintf() with bounded vsnprintf() 2026-01-26 12:26:01 +01:00
config.c m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
dvma.c m68k: Pass a pointer to virt_to_pfn() virt_to_page() 2023-05-29 11:27:07 +02:00
idprom.c m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
intersil.c m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
leds.c m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
Makefile m68k: sun3: Descend to prom from arch/m68k/sun3 2020-07-13 11:39:12 +02:00
mmu_emu.c m68k: sun3: Fix DEBUG_MMU_EMU build 2025-02-03 14:32:51 +01:00
sun3.h m68k: sun3/3x: Add and use "sun3.h" 2023-10-06 10:03:04 +02:00
sun3dvma.c mm/memblock: add memblock_alloc_or_panic interface 2025-01-25 20:22:38 -08:00
sun3ints.c m68k: sun3: Change led_pattern[] to unsigned char 2023-10-06 10:03:04 +02:00