The branch, v3-2-test has been updated
       via  a861ff20917eeca303e2d36de71cd8614e937d5f (commit)
      from  3f081ebeadf30a7943723703ecae479e0412c60c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit a861ff20917eeca303e2d36de71cd8614e937d5f
Author: Alexander Bokovoy <[EMAIL PROTECTED]>
Date:   Mon Jan 14 21:32:59 2008 +0300

    Fix crash in winbind clients: instead of talloc-based pointer we passed 
address of a local variable.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/winbind_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/winbind_util.c b/source/lib/winbind_util.c
index 3cf068a..14356b0 100644
--- a/source/lib/winbind_util.c
+++ b/source/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];
        }
 


-- 
Samba Shared Repository

Reply via email to