Re: [PATCH kvmtool] riscv: Pass correct size to snprintf()

From: Will Deacon
Date: Mon Nov 11 2024 - 12:11:10 EST


On Mon, 04 Nov 2024 20:21:19 +0100, Björn Töpel wrote:
> The snprintf() function does not get the correct size argument passed,
> when the FDT ISA string is built. Instead of adjusting the size for
> each extension, the full size is passed for every iteration. Doing so
> will make __snprinf_chk() bail out on glibc.
>
> Adjust size for each iteration.
>
> [...]

Applied to kvmtool (master), thanks!

[1/1] riscv: Pass correct size to snprintf()
https://git.kernel.org/will/kvmtool/c/574bd7b432ec

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev