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

Paul Walmsley pjw at kernel.org
Thu Feb 12 18:31:28 PST 2026


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 at linux.dev>

Thanks, queued for v7.1.


- Paul



More information about the linux-riscv mailing list