summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-21 15:40:59 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-21 15:40:59 +0000
commit442e8ab1f32ae22f9222dd6450e3cec2587ee276 (patch)
tree0ee866c25d6e9e2bd89d2728b5192dd9ffe7c276 /doc
parentc8e445c8c1ff01c0cdc695140562899a538188f1 (diff)
doc/dbus-specification.xml: explicitly specify that STRING cannot contain embedded NULs.
Diffstat (limited to 'doc')
-rw-r--r--doc/dbus-specification.xml4
1 files changed, 2 insertions, 2 deletions
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>