Re: [PATCH] arm64: idreg-override: Use property length in get_bootargs_cmdline()

From: Will Deacon

Date: Fri Nov 27 2026 - 13:40:17 EST


On Thu, 15 Oct 2026 21:28:08 +0200, Thorsten Blum wrote:
> fdt_getprop() already provides the length of the bootargs property. Use
> it to reject a zero-length property before dereferencing it, and test
> the first byte directly instead of calling strlen().
>
>

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: idreg-override: Use property length in get_bootargs_cmdline()
https://git.kernel.org/arm64/c/cfebe741eb91

Cheers,
--
Will

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