[PATCH v3] boot: pxe_utils: Fix memory allocation issues in overlay_dir handling
Tom Rini
trini at konsulko.com
Sat Nov 22 17:23:27 CET 2025
On Mon, 17 Nov 2025 16:23:07 +0100, Kory Maincent wrote:
> Fix two memory allocation bugs in label_boot_extension():
>
> 1. When label->fdtdir is not set, overlay_dir was used without any
> memory allocation.
>
> 2. When label->fdtdir is set, the allocation size was incorrect,
> using 'len' (just the fdtdir length) instead of 'dir_len' (which
> includes the trailing slash and null terminator).
>
> [...]
Applied to u-boot/master, thanks!
[1/1] boot: pxe_utils: Fix memory allocation issues in overlay_dir handling
commit: 2d7eee5a55472f885474168acd3295d47a559755
--
Tom
More information about the U-Boot
mailing list