dbus/dbus dbus-auth.c,1.40,1.41
Havoc Pennington
hp at freedesktop.org
Sun Feb 6 21:44:59 PST 2005
Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv9125/dbus
Modified Files:
dbus-auth.c
Log Message:
2005-02-07 Havoc Pennington <hp at 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
Index: dbus-auth.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-auth.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- dbus-auth.c 17 Jan 2005 03:53:40 -0000 1.40
+++ dbus-auth.c 7 Feb 2005 05:44:57 -0000 1.41
@@ -1873,6 +1873,10 @@
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))
More information about the dbus-commit
mailing list