]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootstd: rauc: Fix null pointer access while checking root part
authorMartin Schwan <m.schwan@phytec.de>
Wed, 11 Feb 2026 08:36:22 +0000 (09:36 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 16 Feb 2026 17:52:01 +0000 (11:52 -0600)
commitc3538f788dbac291df24171ae1eeb1563ab8af53
tree20ec955a3e420e9603ed803d1b5b1a5e3caf067c
parent2ac30d21e459736acb164c363498596872e0bfb3
bootstd: rauc: Fix null pointer access while checking root part

Fix a segmentation fault caused by a null pointer access during root
partition checking. The function part_get_info() was falsely given null
for the disk_partition struct, which later resulted in accessing a null
pointer and thus undefined behavior.

Fixes: 5d7c080ae5dc ("bootstd: rauc: Don't check root part filesystem")
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
boot/bootmeth_rauc.c