git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b658c26
)
Fix bug #5906 - Winbindd crash on 'getent group' (INTERNAL ERROR: Signal 11).
author
Jeremy Allison
<jra@samba.org>
Wed, 11 Feb 2009 19:35:51 +0000
(11:35 -0800)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 30 Jul 2009 07:22:11 +0000
(09:22 +0200)
Was missed in the last maintenence release.
Jeremy.
(cherry picked from commit
db4a435d235bedf48d668a0f4418dd46f38044ed
)
source/nsswitch/winbindd_passdb.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_passdb.c
b/source/nsswitch/winbindd_passdb.c
index ad629283ee41bdd99910772e8824ada7d7930207..e22a20723dc1be00b532fea3ba9d106cd5dc0866 100644
(file)
--- 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;
}