From 442e8ab1f32ae22f9222dd6450e3cec2587ee276 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 May 2007 15:40:59 +0000 Subject: doc/dbus-specification.xml: explicitly specify that STRING cannot contain embedded NULs. --- doc/dbus-specification.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 @@ STRING 115 (ASCII 's') - UTF-8 string (must be valid UTF-8). Must be nul terminated. + UTF-8 string (must be valid UTF-8). Must be nul terminated and contain no other nul bytes. OBJECT_PATH 111 (ASCII 'o') @@ -503,7 +503,7 @@ STRING A UINT32 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. -- cgit