[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1352-ga861ff2

Gerald (Jerry) Carter jerry at samba.org
Mon Jan 14 19:05:20 GMT 2008


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 <ab at altlinux.org>
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


More information about the samba-cvs mailing list