]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: disallow empty partition tables
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Dec 2022 14:05:49 +0000 (15:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Apr 2023 18:49:48 +0000 (20:49 +0200)
commit598fd4da1cf9665834110583fd9133073cc12481
treee367ec67874d9c34a8da78403b69a028a9ec191f
parentdee4a6237ab5913a6cac3f2afa5ba6ae1f35080a
dissect: disallow empty partition tables

If we don't find a single useful partition table, refusing dissection.

(Except in systemd-dissect, when we are supposed to show DDI
information, in that case allow this to run and show general DDI
information, i.e. size, UUID and name at least)
src/dissect/dissect.c
src/shared/dissect-image.c
src/shared/dissect-image.h