git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d06ea1
)
Coverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).
author
Jeremy Allison
<jra@samba.org>
Wed, 29 Oct 2008 23:02:16 +0000
(16:02 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 29 Oct 2008 23:02:16 +0000
(16:02 -0700)
Jeremy.
source/winbindd/winbindd_dual.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_dual.c
b/source/winbindd/winbindd_dual.c
index acf0908657dcd89409d01f95bb6b0892f15eec97..858e9d6f4a5a739fdd2c37f8c68b1ce6c16bb579 100644
(file)
--- a/
source/winbindd/winbindd_dual.c
+++ b/
source/winbindd/winbindd_dual.c
@@
-1148,7
+1148,7
@@
static bool fork_domain_child(struct winbindd_child *child)
set_domain_online_request(child->domain);
- if (primary_domain
!= child->domain
) {
+ if (primary_domain
&& (primary_domain != child->domain)
) {
/* We need to talk to the primary
* domain as well as the trusted
* domain inside a trusted domain