[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-32-149-gdb4a435

Jeremy Allison jra at samba.org
Wed Feb 11 19:37:31 GMT 2009


The branch, v3-0-test has been updated
       via  db4a435d235bedf48d668a0f4418dd46f38044ed (commit)
      from  a894bd4504f070233dd2785a62483090581f5bf3 (commit)

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


- Log -----------------------------------------------------------------
commit db4a435d235bedf48d668a0f4418dd46f38044ed
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Feb 11 11:35:51 2009 -0800

    Fix bug #5906 - Winbindd crash on 'getent group' (INTERNAL ERROR: Signal 11).
    Was missed in the last maintenence release.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/winbindd_passdb.c b/source/nsswitch/winbindd_passdb.c
index ad62928..e22a207 100644
--- a/source/nsswitch/winbindd_passdb.c
+++ b/source/nsswitch/winbindd_passdb.c
@@ -590,13 +590,13 @@ static NTSTATUS sam_lookup_groupmem(struct winbindd_domain *domain,
 				  sid_type_lookup(lsa_names[i].type)));
 			continue;
 		}
-		if (!((*names)[i] = talloc_strdup((*names),
+		if (!((*names)[num_mapped] = talloc_strdup((*names),
 						  lsa_names[i].name))) {
 			TALLOC_FREE(tmp_ctx);
 			return NT_STATUS_NO_MEMORY;
 		}
 
-		(*name_types)[i] = lsa_names[i].type;
+		(*name_types)[num_mapped] = lsa_names[i].type;
 
 		num_mapped += 1;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list