From 23dbcac12ebfd4391132dd27e646fcf892108502 Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Sun, 11 Sep 2011 22:19:55 -0400 Subject: Fix some quoting woes - Avoid buffer overrun in split_quoted with trailing backslash (!) - Properly quote COMMAND_EXECUTED arguments - Remove unused and misleading parse_command function --- src/io.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 062a853..3574e7e 100644 --- a/src/io.c +++ b/src/io.c @@ -129,6 +129,7 @@ control_stdin(GIOChannel *gio, GIOCondition condition) { parse_cmd_line(ctl_line, result); g_free(ctl_line); + if (*result->str) puts(result->str); g_string_free(result, TRUE); -- cgit v1.2.3