diff options
author | Alexander Bokovoy <ab@altlinux.org> | 2008-01-14 21:32:59 +0300 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2008-01-14 13:03:49 -0600 |
commit | edd4cb0373a668c422b3aa2a460c1004682f3d1d (patch) | |
tree | 49f405f43e5297a2f3ea52c633ff1bcecdf282c6 | |
parent | d35bda0ffd5bea57087dba9a6da8c20df8fa165c (diff) | |
download | samba-edd4cb0373a668c422b3aa2a460c1004682f3d1d.tar.gz samba-edd4cb0373a668c422b3aa2a460c1004682f3d1d.tar.bz2 samba-edd4cb0373a668c422b3aa2a460c1004682f3d1d.zip |
Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.
(This used to be commit a861ff20917eeca303e2d36de71cd8614e937d5f)
-rw-r--r-- | source3/lib/winbind_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c index 3cf068a6e0..14356b09cf 100644 --- 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]; } |