diff options
author | Dylan Simon <dylan@dylex.net> | 2011-09-11 22:19:55 -0400 |
---|---|---|
committer | Dylan Simon <dylan@dylex.net> | 2011-09-11 22:19:55 -0400 |
commit | 23dbcac12ebfd4391132dd27e646fcf892108502 (patch) | |
tree | 48aa130f58cef323016bcafa83da5caeeda71e4c /src/io.c | |
parent | d2b8f3353d6dcec90a77a89861d69f95f9d3e2fa (diff) |
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
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |