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:
a238144
)
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:45 +0000
(16:02 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 29 Oct 2008 23:02:45 +0000
(16:02 -0700)
Jeremy.
source3/winbindd/winbindd_dual.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_dual.c
b/source3/winbindd/winbindd_dual.c
index 994c94b5befd7401a6dac4d4d4bff2c0c79a5438..03d1e043bf1c577d6f28f7469405930c350684ca 100644
(file)
--- a/
source3/winbindd/winbindd_dual.c
+++ b/
source3/winbindd/winbindd_dual.c
@@
-1259,7
+1259,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