From bf75b24d26fdc9deb856bac1918fa4853c594b03 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 7 Feb 2005 05:44:57 +0000 Subject: 2005-02-07 Havoc Pennington * 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 --- dbus/dbus-auth.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dbus/dbus-auth.c') 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)) -- cgit