git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a00138
)
Fix const warning. Allocate off NULL as we always talloc_free().
author
Jeremy Allison
<jra@samba.org>
Thu, 21 Oct 2010 19:50:33 +0000
(12:50 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 22 Oct 2010 17:33:03 +0000
(17:33 +0000)
libcli/security/access_check.c
patch
|
blob
|
history
diff --git
a/libcli/security/access_check.c
b/libcli/security/access_check.c
index b0d4f4a1a7fb99d09a4a53bb165eb8b15fc7555a..c5f89af32a6ecd7dd8a4ccc7b06d47ea950aef54 100644
(file)
--- a/
libcli/security/access_check.c
+++ b/
libcli/security/access_check.c
@@
-285,7
+285,7
@@
NTSTATUS sec_access_check_ds(const struct security_descriptor *sd,
uint32_t bits_remaining;
struct object_tree *node;
const struct GUID *type;
- struct dom_sid *ps_sid = dom_sid_parse_talloc(
sd
, SID_NT_SELF);
+ struct dom_sid *ps_sid = dom_sid_parse_talloc(
NULL
, SID_NT_SELF);
*access_granted = access_desired;
bits_remaining = access_desired;