Bug 87393 - Cannot pass a single semicolon as service command argument
Summary: Cannot pass a single semicolon as service command argument
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-17 05:39 UTC by tomsod-m
Modified: 2014-12-18 05:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
the patch (603 bytes, text/plain)
2014-12-17 05:39 UTC, tomsod-m
Details

Description tomsod-m 2014-12-17 05:39:07 UTC
Created attachment 110933 [details]
the patch

Due to erroneous unescaping, the "\;" argument to a service command line, which should be translated to ";", usually gives "; " instead. Some programs react to this badly.
This happens because argument length isn't corrected when discarding the backslash. I've attached a one-line patch that should fix the issue.
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-12-18 05:57:14 UTC
Applied in http://cgit.freedesktop.org/systemd/systemd/commit/?id=3851c51ad1.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.