]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: check for all errors in test-reread-partition-table
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 21 Nov 2025 17:53:46 +0000 (17:53 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Nov 2025 18:13:39 +0000 (19:13 +0100)
commit12d2abe0827ad62652d0cb1791c89f3d2adbb280
treecd0838695611eb91f5be28055247fb37fc0f996c
parentd1ae5e26c4d208f5fe2a090b3ab43a9a38d354c8
test: check for all errors in test-reread-partition-table

Otherwise if opening the loop dev fails, the test segfaults
dereferencing a NULL variable later

Follow-up for 757887d01dd96125be1774f4b23b12f2fbda9a8b
src/test/test-reread-partition-table.c