bootstd: rauc: Fix segfault when cleaning up slots
authorMartin Schwan <m.schwan@phytec.de>
Wed, 13 Aug 2025 11:54:05 +0000 (13:54 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Aug 2025 21:05:04 +0000 (15:05 -0600)
commit074066790c7f726f149c1974e01b8b3f75738c73
tree1fa4c0c390374e37fb81ce143adac3a4b32e425d
parentacfacf452441d0a659e3afbd55fd6061aa17e647
bootstd: rauc: Fix segfault when cleaning up slots

Fix a segfault when cleaning up the slots from the private struct. This
fault was generated by accessing a member of a null pointer.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
boot/bootmeth_rauc.c