Re: [PATCH] riscv: ptdump: Replace unbounded sprintf() in dump_prot()

From: Paul Walmsley

Date: Thu Feb 12 2026 - 21:31:57 EST


On Tue, 27 Jan 2026, Thorsten Blum wrote:

> Replace the unbounded sprintf("%s", ...) with the faster and safer
> strscpy(). Replace all other sprintf() calls with the safer snprintf().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>

Thanks, queued for v7.1.


- Paul