Re: [PATCH] riscv: Fix an off-by-one in get_early_cmdline()

From: patchwork-bot+linux-riscv
Date: Fri Jan 12 2024 - 01:30:50 EST


Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Sun, 29 Oct 2023 08:20:40 +0100 you wrote:
> The ending NULL is not taken into account by strncat(), so switch to
> strlcat() to correctly compute the size of the available memory when
> appending CONFIG_CMDLINE to 'early_cmdline'.
>
> Fixes: 26e7aacb83df ("riscv: Allow to downgrade paging mode from the command line")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- riscv: Fix an off-by-one in get_early_cmdline()
https://git.kernel.org/riscv/c/adb1f95d388a

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html