tmpfiles: make sure not to concatenate non-absolute path

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 22 January 2015 00:14 UTC

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.

222c47f tmpfiles: make sure not to concatenate non-absolute path
src/tmpfiles/tmpfiles.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

Upstream: github.com


  • Share