[PATCH] partitions: efi: validate complete GPT entry array
Sascha Hauer
s.hauer at pengutronix.de
Fri Jul 10 14:42:32 PDT 2026
On Thu, 09 Jul 2026 09:33:14 +0200, Ahmad Fatoum wrote:
> The Fedora-Workstation-Live-44-1.7.aarch64.iso image advertises 248
> slots, which exceeds the 128 partition limit that the barebox EFI
> partition parser enforced because of the MAX_PARTITION macro.
>
> The enforcement is not only for creating actual partitions, but also
> for computing the CRC, so valid GPTs with a larger entry array are
> rejected, even though they have fewer actual partitions.
>
> [...]
Applied, thanks!
[1/1] partitions: efi: validate complete GPT entry array
https://git.pengutronix.de/cgit/barebox/commit/?id=9317ffc12b61 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list