]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: fix fdisk_script_get_table()
authorKarel Zak <kzak@redhat.com>
Mon, 10 Jun 2019 09:43:56 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Jun 2019 13:46:10 +0000 (15:46 +0200)
commit73ec5e164c8e67bb2621c58fcccbdef54da8e1ca
tree281d3d1bd5ce50cfaeaf15499875328948de8da1
parent9335bfc84503dbb3993a9a07e9a001dd987468cb
libfdisk: fix fdisk_script_get_table()

Make sure we never return NULL and we reuse the table in code.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/script.c
libfdisk/src/table.c