[PATCH v2 0/3] boot: android: rework the bootargs concatenation

Mattijs Korpershoek mkorpershoek at baylibre.com
Wed Dec 18 14:05:37 CET 2024


Hi,

On Tue, 17 Dec 2024 14:29:07 +0100, Nicolas Belin wrote:
> Rework the bootargs concatenation logic to make the logic clearer
> and address several issues such as:
> - checking the value at the address kcmdline_extra instead of
> checking the address value itself
> - freeing the string that was malloced for the concatenation
> - making sure to malloc the right amount of bytes for the concatenated
> string, not forgetting the byte for the NULL termination
> 
> [...]

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

[1/3] boot: android: fix extra command line support
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/53a0ddb6d3bed9f9607af79934a7625299c36793
[2/3] boot: android: free newbootargs when done
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/fd8b44a81be55b33c7defbe96a1ddd79ed286eb4
[3/3] boot: android: rework bootargs concatenation
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/9e5fad0f792539ae4258bc116bf408bb6faf7e82

--
Mattijs


More information about the U-Boot mailing list