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:
d35bda0
)
Fix crash in winbind clients: instead of talloc-based pointer we passed address of...
author
Alexander Bokovoy
<ab@altlinux.org>
Mon, 14 Jan 2008 18:32:59 +0000
(21:32 +0300)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Mon, 14 Jan 2008 19:03:49 +0000
(13:03 -0600)
(This used to be commit
a861ff20917eeca303e2d36de71cd8614e937d5f
)
source3/lib/winbind_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/winbind_util.c
b/source3/lib/winbind_util.c
index 3cf068a6e0da11d812a89c4f3954ce066f960e90..14356b09cf7b9d22b88621d871062d18856a12d0 100644
(file)
--- a/
source3/lib/winbind_util.c
+++ b/
source3/lib/winbind_util.c
@@
-201,7
+201,7
@@
bool winbind_lookup_rids(TALLOC_CTX *mem_ctx,
*types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids);
for(i=0; i<num_rids; i++) {
- (*names)[i] = talloc_strdup(names, namelist[i]);
+ (*names)[i] = talloc_strdup(
*
names, namelist[i]);
(*types)[i] = (enum lsa_SidType)name_types[i];
}