diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/dbus-specification.xml | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk> + + * doc/dbus-specification.xml: explicitly specify that STRING cannot + contain embedded NULs. + 2007-05-20 Ralf.Habacker <ralf.habacker@freenet.de> * dbus/dbus-internal.c: fix inline problem on win32. diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 382f3fd6..2e78d24a 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -385,7 +385,7 @@ </row><row> <entry><literal>STRING</literal></entry> <entry>115 (ASCII 's')</entry> - <entry>UTF-8 string (<emphasis>must</emphasis> be valid UTF-8). Must be nul terminated.</entry> + <entry>UTF-8 string (<emphasis>must</emphasis> be valid UTF-8). Must be nul terminated and contain no other nul bytes.</entry> </row><row> <entry><literal>OBJECT_PATH</literal></entry> <entry>111 (ASCII 'o')</entry> @@ -503,7 +503,7 @@ <entry><literal>STRING</literal></entry> <entry>A <literal>UINT32</literal> indicating the string's length in bytes excluding its terminating nul, followed by - string data of the given length, followed by a terminating nul + non-nul string data of the given length, followed by a terminating nul byte. </entry> <entry> |