svn commit: samba r23664 - in branches: SAMBA_3_0/source/smbd
SAMBA_3_0_26/source/smbd
jra at samba.org
jra at samba.org
Sat Jun 30 00:23:00 GMT 2007
Author: jra
Date: 2007-06-30 00:22:59 +0000 (Sat, 30 Jun 2007)
New Revision: 23664
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23664
Log:
Fix incorrect index - should be j not i. How did we ever
live without valgrind :-).
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/posix_acls.c
branches/SAMBA_3_0_26/source/smbd/posix_acls.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/posix_acls.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/posix_acls.c 2007-06-29 17:57:05 UTC (rev 23663)
+++ branches/SAMBA_3_0/source/smbd/posix_acls.c 2007-06-30 00:22:59 UTC (rev 23664)
@@ -3263,7 +3263,7 @@
/* Finally append any inherited ACEs. */
for (j = 0; j < parent_sd->dacl->num_aces; j++) {
- SEC_ACE *se = &parent_sd->dacl->aces[i];
+ SEC_ACE *se = &parent_sd->dacl->aces[j];
uint32 i_flags = se->flags & (SEC_ACE_FLAG_OBJECT_INHERIT|
SEC_ACE_FLAG_CONTAINER_INHERIT|
SEC_ACE_FLAG_INHERIT_ONLY);
Modified: branches/SAMBA_3_0_26/source/smbd/posix_acls.c
===================================================================
--- branches/SAMBA_3_0_26/source/smbd/posix_acls.c 2007-06-29 17:57:05 UTC (rev 23663)
+++ branches/SAMBA_3_0_26/source/smbd/posix_acls.c 2007-06-30 00:22:59 UTC (rev 23664)
@@ -3263,7 +3263,7 @@
/* Finally append any inherited ACEs. */
for (j = 0; j < parent_sd->dacl->num_aces; j++) {
- SEC_ACE *se = &parent_sd->dacl->aces[i];
+ SEC_ACE *se = &parent_sd->dacl->aces[j];
uint32 i_flags = se->flags & (SEC_ACE_FLAG_OBJECT_INHERIT|
SEC_ACE_FLAG_CONTAINER_INHERIT|
SEC_ACE_FLAG_INHERIT_ONLY);
More information about the samba-cvs
mailing list