On Thu, 15 Oct 2026 16:10:49 +0200, Ahmad Fatoum wrote:
> Probe subtracts the size of the CRC and flag header from the size of
> each copy unchecked. For a partition smaller than that, the size wraps
> around and the CRC is computed over most of the address space.
>
> Let's fail probe with -EINVAL for such a copy instead.
>
>
> [...]
Applied, thanks!
[1/1] ubootvar: reject copies too small for their header
https://git.pengutronix.de/cgit/barebox/commit/?id=b6729fe4930d (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>