mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
Do not unescape unit names in [Install] section
https://bugs.freedesktop.org/show_bug.cgi?id=49316
(cherry picked from commit 000f6e5667)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
8d9518eb8f
commit
6a5aa37d14
@@ -719,7 +719,7 @@ int config_parse_strv(const char *unit,
|
||||
FOREACH_WORD_QUOTED(w, l, rvalue, state) {
|
||||
_cleanup_free_ char *n;
|
||||
|
||||
n = cunescape_length(w, l);
|
||||
n = strndup(w, l);
|
||||
if (!n)
|
||||
return log_oom();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user