summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index eb8d5742..6412185b 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -1873,6 +1873,10 @@ process_command (DBusAuth *auth)
if (!_dbus_string_move (&line, i, &args, 0))
goto out;
+
+ /* FIXME we should probably validate that only the allowed
+ * chars are in the command name
+ */
command = lookup_command_from_name (&line);
if (!(* auth->state->handler) (auth, command, &args))