[PATCH 0/4] bootstd: rauc: Fix segfault when scanning device with unsupported layout
Wadim Egorov
w.egorov at phytec.de
Fri Aug 15 12:53:05 CEST 2025
On 8/13/25 2:54 PM, Martin Schwan wrote:
> 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>
I never run into this Issue, but you can have my
Tested-by: Wadim Egorov <w.egorov at phytec.de>
for this Series.
> ---
> 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,
More information about the U-Boot
mailing list