dbus ChangeLog,1.487,1.488

Kristian Hogsberg krh at pdx.freedesktop.org
Mon May 17 15:19:06 PDT 2004


Update of /cvs/dbus/dbus
In directory pdx:/tmp/cvs-serv12926

Modified Files:
	ChangeLog 
Log Message:
2004-05-17  Kristian Høgsberg  <krh at redhat.com>

	Remove base64 encoding, replace with hex encoding. Original patch
	from trow at ximian.com, added error handling.

	* dbus/dbus-string.c (_dbus_string_base64_encode)
	(_dbus_string_base64_decode): Remove.
	(_dbus_string_hex_decode): Add end_return argument so we can
	distinguish between OOM and invalid hex encoding.
	(_dbus_string_test): Remove base64 tests and add test case for
	invalid hex.

	* dbus/dbus-keyring.c, dbus/dbus-auth-script.c, dbus/dbus-auth.c:
	Replace base64 with hex.

	* test/data/auth/invalid-hex-encoding.auth-script: New test case
	for invalid hex encoded data in auth protocol.



Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.487
retrieving revision 1.488
diff -u -d -r1.487 -r1.488
--- a/ChangeLog	17 May 2004 09:43:24 -0000	1.487
+++ b/ChangeLog	17 May 2004 22:19:04 -0000	1.488
@@ -1,3 +1,21 @@
+2004-05-17  Kristian Høgsberg  <krh at redhat.com>
+
+	Remove base64 encoding, replace with hex encoding. Original patch
+	from trow at ximian.com, added error handling.
+
+	* dbus/dbus-string.c (_dbus_string_base64_encode)
+	(_dbus_string_base64_decode): Remove.
+	(_dbus_string_hex_decode): Add end_return argument so we can
+	distinguish between OOM and invalid hex encoding.
+	(_dbus_string_test): Remove base64 tests and add test case for
+	invalid hex.
+
+	* dbus/dbus-keyring.c, dbus/dbus-auth-script.c, dbus/dbus-auth.c:
+	Replace base64 with hex.
+
+	* test/data/auth/invalid-hex-encoding.auth-script: New test case
+	for invalid hex encoded data in auth protocol.
+
 2004-05-17  Olivier Andrieu  <oliv__a at users.sourceforge.net>
 
 	* dbus/dbus-connection.c (check_for_reply_unlocked): plug a memory




More information about the dbus-commit mailing list