[PATCH v2 1/2] state: do not panic on flipped bits in on-disk sizes

Sascha Hauer s.hauer at pengutronix.de
Mon Aug 25 01:52:23 PDT 2025


On Thu, 21 Aug 2025 22:46:57 +0200, Ahmad Fatoum wrote:
> We allocate some buffers with a size that's ultimately dictated by
> on-disk metadata. This metadata can be incorrect and state is supposed
> to handle that by storing the data redundantly in three buckets.
> 
> Due to the use of x-family functions, we triggered a panic though, which
> made an unfortunate bitflip an irrecoverable error.
> 
> [...]

Applied, thanks!

[1/2] state: do not panic on flipped bits in on-disk sizes
      https://git.pengutronix.de/cgit/barebox/commit/?id=05e6175203d8 (link may not be stable)
[2/2] state: dtb: enforce minimum FDT length
      https://git.pengutronix.de/cgit/barebox/commit/?id=33d29825d37a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list