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] |
+-------------------------------------------+
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
_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list

Reply via email to