gnome-vfs r5469 - in trunk: . libgnomevfs
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-vfs r5469 - in trunk: . libgnomevfs
- Date: Thu, 3 Apr 2008 13:11:11 +0100 (BST)
Author: cneumair
Date: Thu Apr 3 13:11:11 2008
New Revision: 5469
URL: http://svn.gnome.org/viewvc/gnome-vfs?rev=5469&view=rev
Log:
2008-04-03 Christian Neumair <cneumair gnome org>
* libgnomevfs/gnome-vfs-ace.c (permset_copy):
Do not index beyond array bounds (#511031). Thanks to Ghee Teo and
Marcel Telka.
Modified:
trunk/ChangeLog
trunk/libgnomevfs/gnome-vfs-ace.c
Modified: trunk/libgnomevfs/gnome-vfs-ace.c
==============================================================================
--- trunk/libgnomevfs/gnome-vfs-ace.c (original)
+++ trunk/libgnomevfs/gnome-vfs-ace.c Thu Apr 3 13:11:11 2008
@@ -309,7 +309,7 @@
dest->perms[i] = source->perms[i];
}
- dest->perms[++i] = 0;
+ dest->perms[source->count] = 0;
dest->count = source->count;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]