From: Michal Sekletar Date: Mon, 26 May 2014 18:09:45 +0000 (+0200) Subject: Do not unescape unit names in [Install] section X-Git-Tag: v213~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=000f6e5667eb4f73e137cbd0d7395a9f9db7728a Do not unescape unit names in [Install] section https://bugs.freedesktop.org/show_bug.cgi?id=49316 --- diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 77a172e9f..158e9efd4 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -688,7 +688,7 @@ int config_parse_strv(const char *unit, FOREACH_WORD_QUOTED(w, l, rvalue, state) { char *n; - n = cunescape_length(w, l); + n = strndup(w, l); if (!n) return log_oom();