[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdW7-Pnp94XimfMpZEhX+7Lqwcw=txmSbmP093qwKgeKtA@mail.gmail.com>
Date: Mon, 26 Jan 2026 12:15:40 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Sam Creasey <sammy@...my.net>, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] m68k: sun3: Replace vsprintf() with bounded vsnprintf()
On Sat, 17 Jan 2026 at 21:22, Thorsten Blum <thorsten.blum@...ux.dev> wrote:
> 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 66ed28ea096c
> ("m68k: sun3: Remove unused vsprintf() return value in prom_printf()").
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
i.e. will queue in the m68k tree for v6.20.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists