doc/dbus-specification.xml: explicitly specify that STRING cannot contain embedded NULs.

This commit is contained in:
Simon McVittie 2007-05-21 15:40:59 +00:00
parent c8e445c8c1
commit 442e8ab1f3
2 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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>