mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Fix winbindd crash bug with trusted domains. Bug #5736
This commit is contained in:
parent
0311d17197
commit
d4f5caa3d3
@ -1225,6 +1225,8 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
|
||||
for (i = 0; i < trusts.count; i++) {
|
||||
struct winbindd_domain d;
|
||||
|
||||
ZERO_STRUCT(d);
|
||||
|
||||
/* drop external trusts if this is not our primary
|
||||
domain. This means that the returned number of
|
||||
domains may be less that the ones actually trusted
|
||||
|
Loading…
Reference in New Issue
Block a user