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

Will Deacon will at kernel.org
Fri Nov 27 10:39:11 PST 2026


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



More information about the linux-arm-kernel mailing list