1
From 9eb4c271c3b561d0141adb1e31c3ffc3725a1630 Mon Sep 17 00:00:00 2001
2
From: Daniel Borkmann <dborkman@redhat.com>
3
Date: Thu, 11 Apr 2013 15:57:18 +0200
4
Subject: [PATCH] withsctp: fix quoted command line arguments
6
withsctp breaks quoted command line arguments. Trivial example:
8
$ withsctp echo "a b c"
11
This is really bad with sshd:
13
$ withsctp /usr/sbin/sshd -D -e -o "Port 4560"
14
command-line line 0: missing port number.
16
After the fix, sshd works as expected:
18
withsctp /usr/sbin/sshd -D -e -o "Port 4560"
19
Server listening on 0.0.0.0 port 4560.
20
Server listening on :: port 4560.
22
Reported-by: Mikko Markus Torni <mikko.markus.torni@iki.fi>
23
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
25
src/withsctp/withsctp.in | 2 +-
26
1 file changed, 1 insertion(+), 1 deletion(-)
28
diff --git a/src/withsctp/withsctp.in b/src/withsctp/withsctp.in
29
index cd0b323..874143c 100644
30
--- a/src/withsctp/withsctp.in
31
+++ b/src/withsctp/withsctp.in