Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix bug #5906 - Winbindd crash on 'getent group' (INTERNAL ERROR: Sig…
Browse files Browse the repository at this point in the history
…nal 11).

Was missed in the last maintenence release.
Jeremy.
  • Loading branch information
jrasamba committed Feb 11, 2009
1 parent a894bd4 commit db4a435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/nsswitch/winbindd_passdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit db4a435

Please sign in to comment.