[PATCH] boot: android: Check kcmdline's for NULL in android_image_get_kernel()

Mattijs Korpershoek mkorpershoek at baylibre.com
Thu Jan 23 15:20:25 CET 2025


Hi,

On Mon, 13 Jan 2025 10:11:45 +0100, Mattijs Korpershoek wrote:
> kcmdline and kcmdline_extra strings can be NULL. In that case, we still
> read the content from 0x00000 and pass that to the kernel, which is
> completely wrong.
> 
> Fix android_image_get_kernel() to check for NULL before checking if
> they are empty strings.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)

[1/1] boot: android: Check kcmdline's for NULL in android_image_get_kernel()
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4e599aa73a386dd1ba5091937ef2fc388d01ddd2

--
Mattijs


More information about the U-Boot mailing list