[PATCH 0/4] bootstd: rauc: Fix segfault when scanning device with unsupported layout
Martin Schwan
m.schwan at phytec.de
Wed Aug 13 13:54:04 CEST 2025
This series fixes a segfault, that would occur at the end of scanning a
device, which does not contain the required partition layout scheme for
a RAUC system.
With this series, a "bootflow scan" should now correctly scan the
specified devices with boot method "rauc" without crashing on invalid
partition schemes.
Regards,
Martin
Signed-off-by: Martin Schwan <m.schwan at phytec.de>
---
Martin Schwan (4):
bootstd: rauc: Fix segfault when cleaning up slots
bootstd: rauc: Don't null bootflow->bootmeth_priv
bootstd: rauc: Move freeing private struct to its own function
bootstd: rauc: Free private data when booting
boot/bootmeth_rauc.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
---
base-commit: acfacf452441d0a659e3afbd55fd6061aa17e647
change-id: 20250813-wip-bootmeth-rauc-priv-free-2682c6355a08
Best regards,
--
Martin Schwan <m.schwan at phytec.de>
More information about the U-Boot
mailing list