[glib/gdbus-merge] GDBus: Add TODO item about a need to validate data / messages



commit 6e23b0b7850c170405aa25d9441a9cd8cc05a38b
Author: David Zeuthen <davidz redhat com>
Date:   Mon May 10 14:43:08 2010 -0400

    GDBus: Add TODO item about a need to validate data / messages

 gio/gdbusconnection.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index f81c86b..a8301ae 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -23,6 +23,11 @@
 /*
  * TODO for GDBus:
  *
+ * - Validate all data (e.g. UTF-8) and check all the required D-Bus headers
+ *   are present and forbidden ones aren't
+ *   - When writing: g_dbus_message_to_blob()
+ *   - When reading: g_dbus_message_new_from_blob()
+ *
  * - would be nice to expose GDBusAuthMechanism and an extension point
  *
  * - Need to rewrite GDBusAuth and rework GDBusAuthMechanism. In particular



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]