Escaping for paths
kimmo.hamalainen at nokia.com
Fri Jun 16 01:28:06 PDT 2006
On Thu, 2006-06-15 at 18:16, ext Ross Burton wrote:
> On Thu, 2006-06-15 at 18:11 +0300, Kimmo Hämäläinen wrote:
> > dbus_bool_t dbus_validate_message (const DBusMessage *m);
> > could be useful, too, but maybe it's more tricky to implement.
> Doesn't DBus validate the fields as they are added anyway?
Yes, I guess so, but Havoc said that sending invalid messages is an
application bug, so that validation in DBus library could go away when
application has the means to validate the messages. Also, it could
reduce the amount of needed function calls, when the message has many
arguments. Not to mention that it would allow more flexible architecture
in the application, since the caller does not need to no anything about
More information about the dbus