Request for commit approval (bug #511031)



Hi gnome-vfs hackers,

I would like to fix bug #511031, so I prepared small patch (please see
attached).

As per instructions in HACKING file I am asking here for commit approval.

Can I commit the attached patch to the gnome-vfs trunk?

Please CC me, I am not on the mailing list.


Thanks you.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel telka sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel jabber sk |
+-------------------------------------------+
Index: libgnomevfs/gnome-vfs-ace.c
===================================================================
--- libgnomevfs/gnome-vfs-ace.c	(revision 5465)
+++ libgnomevfs/gnome-vfs-ace.c	(working copy)
@@ -309,7 +309,7 @@
 		dest->perms[i] = source->perms[i];
 	}
 
-	dest->perms[++i] = 0;
+	dest->perms[source->count] = 0;
 	dest->count = source->count;
 }
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 5465)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-03-19  Marcel Telka  <marcel telka sk>
+
+	* libgnomevfs/gnome-vfs-ace.c (permset_copy): Do not write over the
+	array size (bug #511031).
+
 2008-03-18  Christian Kellner  <gicmo gnome org>
 
 	* modules/http-neon-method.c: Don't use ranged GETs for broken


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