diff options
author | Karel Zak | 2016-03-31 11:45:55 +0200 |
---|---|---|
committer | Karel Zak | 2016-03-31 11:45:55 +0200 |
commit | e9cd2e2bd9ec91a0b1050c4aa79555d142985924 (patch) | |
tree | 5da687b76440bcbf7ef925451dfb49379c21d6de /schedutils | |
parent | tests: add DM error target for blkid (diff) | |
download | kernel-qcow2-util-linux-e9cd2e2bd9ec91a0b1050c4aa79555d142985924.tar.gz kernel-qcow2-util-linux-e9cd2e2bd9ec91a0b1050c4aa79555d142985924.tar.xz kernel-qcow2-util-linux-e9cd2e2bd9ec91a0b1050c4aa79555d142985924.zip |
libmount: Fix possible NULL dereference in get_btrfs_fs_root()
The function mnt_table_get_fs_root() should be robust enough to accept
NULL as mountinfo -- the right behaviour is to default to '/'.
The set_fs_root() (tab_update.c) has to understand when mountinfo is
necessary (for bind mounts and btrfs).
Reported-by: Stanislav Brabec <sbrabec@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils')
0 files changed, 0 insertions, 0 deletions