summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-02-07 05:44:57 +0000
committerHavoc Pennington <hp@redhat.com>2005-02-07 05:44:57 +0000
commitbf75b24d26fdc9deb856bac1918fa4853c594b03 (patch)
tree4daa70bae8bc81c35c7d72fe39f5abfa2c3ac88a /dbus
parentb4fbcb98f17db36d40257969e5d5b35e231a088a (diff)
2005-02-07 Havoc Pennington <hp@redhat.com>
* doc/dbus-specification.xml: some more language cleanups; add stuff about how to deal with invalid protocol and extension points; add _ to allowed chars in auth commands; add EXTENSION_ auth command prefix
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))