git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0311d17
)
Fix winbindd crash bug with trusted domains. Bug #5736
author
James Ding
<ding_cc@hotmail.com>
Thu, 4 Sep 2008 22:13:12 +0000
(15:13 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 4 Sep 2008 22:13:12 +0000
(15:13 -0700)
source/winbindd/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_ads.c
b/source/winbindd/winbindd_ads.c
index 94e3bad7b2331fcc761226dbcc3f030a4fd86237..c7f730e3974b0f4c8b92e2c8a29ee09e4dea3ca4 100644
(file)
--- a/
source/winbindd/winbindd_ads.c
+++ b/
source/winbindd/winbindd_ads.c
@@
-1225,6
+1225,8
@@
static NTSTATUS trusted_domains(struct winbindd_domain *domain,
for (i = 0; i < trusts.count; i++) {
struct winbindd_domain d;
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
/* 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