summaryrefslogtreecommitdiff
path: root/.lgtm
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-19 23:05:48 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-20 09:56:51 +0100
commit082bb1c59bd4300bcdc08488c94109680cfadf57 (patch)
tree5d0acf2bdc803e23c2389751ce676db655e7d648 /.lgtm
parentfcfb1f775ed0e9d282607bb118ba788b98952855 (diff)
downloadsystemd-082bb1c59bd4300bcdc08488c94109680cfadf57.tar.gz
tmpfiles: fix crash with NULL in arg_root and other fixes and tests
The function to replacement paths into the configuration file list was borked. Apart from the crash with empty root prefix, it would incorrectly handle the case where root *was* set, and the replacement file was supposed to override an existing file. prefix_root is used instead of path_join because prefix_root removes duplicate slashes (when --root=dir/ is used). A test is added. Fixes #11124.
Diffstat (limited to '.lgtm')
0 files changed, 0 insertions, 0 deletions