summaryrefslogtreecommitdiff
path: root/src/shared/siphash24.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-04-22 23:09:43 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-05-04 14:01:33 -0400
commit506d0b092e912f51bee87add6e2cf83a5be6f8ee (patch)
tree09def87feee56d7e955e33c7282158ccf63db4b5 /src/shared/siphash24.c
parent0485a848a38ad5a0e61b4671f3b36d35e3fdd069 (diff)
util: Fix assertion in split() on missing '
When parsing a unit with a trailing slash after an escaped line break, like ExecStart=/bin/echo 'foo \ bar' the split() function (through config_parse()) asserted and crashed pid 1: Assertion 'current[*l + 1] == quotechars[0]' failed at ../src/shared/util.c:583, function split(). Aborting. Fix this by returning an error in this case ("trailing garbage"). Add corresponding test case. Also fix the missing "unit" argument of config_parse_exec() in the comment. https://launchpad.net/bugs/1447243
Diffstat (limited to 'src/shared/siphash24.c')
0 files changed, 0 insertions, 0 deletions