]> git.ipfire.org Git - thirdparty/systemd.git/commit
machined: Relax path checks for Copy{From,To}
authorRichard Maw <richard.maw@codethink.co.uk>
Tue, 4 Aug 2015 08:55:04 +0000 (08:55 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Tue, 4 Aug 2015 09:11:23 +0000 (09:11 +0000)
commitd84401767785a8380700d5d9c805c36f5fc63980
tree6d05341c99246bd7cce53dcac206f0c6779fb636
parent58a2e9acd8216f55b004e5432f76a851f7b233c0
machined: Relax path checks for Copy{From,To}

Absolute paths should be sufficient to prevent funny business,
and while path_is_safe() checks this, it also checks whether the path
contains . or .. components, which while odd, aren't a security risk.
src/machine/machine-dbus.c