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. --- ChangeLog | 5 +++++ doc/dbus-specification.xml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52072eef..f924ac13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-21 Simon McVittie + + * doc/dbus-specification.xml: explicitly specify that STRING cannot + contain embedded NULs. + 2007-05-20 Ralf.Habacker * 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 @@ 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