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.