Request for commit approval (bug #511031)

Marcel Telka <[email protected]> Wed, 19 Mar 2008 12:18:34 +0100
Newsgroups gmane.comp.gnome.vfs.general
Message-ID <[email protected]>
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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:   [email protected]  |
|                homepage: http://telka.sk/ |
|                jabber:   [email protected] |
+-------------------------------------------+

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gnome-vfs.patch"

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  <[email protected]>
+
+	* libgnomevfs/gnome-vfs-ace.c (permset_copy): Do not write over the
+	array size (bug #511031).
+
 2008-03-18  Christian Kellner  <[email protected]>
 
 	* modules/http-neon-method.c: Don't use ranged GETs for broken

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-vfs-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

--vtzGhvizbBRQ85DL--