gvfs r2057 - in trunk: . common



Author: alexl
Date: Fri Oct 17 09:24:05 2008
New Revision: 2057
URL: http://svn.gnome.org/viewvc/gvfs?rev=2057&view=rev

Log:
2008-10-17  Alexander Larsson  <alexl redhat com>

	* common/gdbusutils.c (append_escaped_name):
	Fix uninitialized memory read.



Modified:
   trunk/ChangeLog
   trunk/common/gdbusutils.c

Modified: trunk/common/gdbusutils.c
==============================================================================
--- trunk/common/gdbusutils.c	(original)
+++ trunk/common/gdbusutils.c	Fri Oct 17 09:24:05 2008
@@ -53,6 +53,7 @@
   gboolean first;
   static const gchar hex[16] = "0123456789ABCDEF";
 
+  first = TRUE;
   while ((c = *unescaped++) != 0)
     {
       if (first)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]