git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d3a80
)
r23664: Fix incorrect index - should be j not i. How did we ever
author
Jeremy Allison
<jra@samba.org>
Sat, 30 Jun 2007 00:22:59 +0000
(
00:22
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:43 +0000
(12:23 -0500)
live without valgrind :-).
Jeremy.
source/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source/smbd/posix_acls.c
b/source/smbd/posix_acls.c
index efead2dce17af8a3c69b97b463ef3b8eef14f55a..c4c4b2e393f2b3103f601988cb9824601d82c26d 100644
(file)
--- a/
source/smbd/posix_acls.c
+++ b/
source/smbd/posix_acls.c
@@
-3263,7
+3263,7
@@
static NTSTATUS append_parent_acl(files_struct *fsp,
/* 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);