git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[gd/samba/.git]
/
source
/
python
/
py_ntsec.c
diff --git
a/source/python/py_ntsec.c
b/source/python/py_ntsec.c
index f82433a69ff819f7a6a72ea1f2a1bc78cde9a4e9..f832b22fe012b35be869f72ddfabb3c55604ec01 100644
(file)
--- a/
source/python/py_ntsec.c
+++ b/
source/python/py_ntsec.c
@@
-157,7
+157,7
@@
BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx)
acl->num_aces = PyList_Size(obj);
- acl->aces =
TALLOC_ARRAY(mem_ctx, struct security_ace, acl->num_aces
);
+ acl->aces =
_talloc(mem_ctx, acl->num_aces * sizeof(SEC_ACE)
);
acl->size = SEC_ACL_HEADER_SIZE;
for (i = 0; i < acl->num_aces; i++) {