[PATCH] boot: pxe_utils: Allocate space for overlay_dir before writing into it
Quentin Schulz
quentin.schulz at cherry.de
Fri Nov 21 11:03:48 CET 2025
Hi Surkov,
On 11/20/25 7:51 PM, Surkov Kirill wrote:
> [You don't often get email from fanra3.tk at gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> The pxe_utils/label_boot_extension calls snprintf on an uninitialized memory overlay_dir.
> This results in a crash when calling sysboot.
>
> This commit fixes this issue.
>
I believe we already have a patch submitted for this issue:
https://lore.kernel.org/u-boot/20251117152308.900316-1-kory.maincent@bootlin.com/T/#u
so please give that a try and a tested-by/reviewed-by there.
Cheers,
Quentin
More information about the U-Boot
mailing list