chiark / gitweb /
tmpfiles: make sure not to concatenate non-absolute path
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 Jan 2015 06:27:31 +0000 (01:27 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 22 Jan 2015 06:14:52 +0000 (01:14 -0500)
commit222c47f47615a275b9a9862a45f9b91b01eb8be5
tree1d2f71247cbf2a8c6aacdad3468149bd44672dc0
parent5f255144ae1ca7162b15e712a79d2eb9d83015f7
tmpfiles: make sure not to concatenate non-absolute path

If the path is absolute was only checked later.
Also do not check if path if absolute if we just
specified it starting with a slash.
src/tmpfiles/tmpfiles.c