aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 93e43e69..f836115f 100644
--- a/socket.c
+++ b/socket.c
@@ -130,6 +130,8 @@ static char *const *parse_plugin(const char *plugin, const char *host, const cha
}
plugin_copy[plugin_copy_len] = 0;
+ /* XXX FIXME - is this perhaps a bit too simplistic to chop down the argument strings without any respect to quoting?
+ * better write a generic function that tracks arguments instead... */
argvec = (char **)malloc(s);
if (!argvec)
{