git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8ca58
)
libcli/security: Ensure to fill in remaining_access for the initial case (bug #9554...
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Jan 2013 09:39:23 +0000
(20:39 +1100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 15 Jan 2013 11:14:25 +0000
(12:14 +0100)
It is critically important that we initialise this element as otherwise
all access is permitted.
Andrew Bartlett
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
a75805490d96a85786287f5d0522dd7671d6816e
)
libcli/security/object_tree.c
patch
|
blob
|
history
diff --git
a/libcli/security/object_tree.c
b/libcli/security/object_tree.c
index 6809c8e3452d85312eaf5ede98b24b641abd2cd6..dcbd310baeaad7e7c12a89445fe12a1c125bc9a8 100644
(file)
--- a/
libcli/security/object_tree.c
+++ b/
libcli/security/object_tree.c
@@
-53,6
+53,7
@@
bool insert_in_object_tree(TALLOC_CTX *mem_ctx,
return false;
}
(*root)->guid = *guid;
+ (*root)->remaining_access = init_access;
*new_node = *root;
return true;
}