diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-29 16:01:33 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-11-18 10:06:44 +0100 |
commit | f16cd89af91ef4d55d4996f08c3ac2b2ea6cd0bf (patch) | |
tree | 408f97e440eb9050e2324c75cfa109c08046a648 /source/winbindd/winbindd_dual.c | |
parent | ebbfdf0e0622b6982d95ce3ecc43c33c830a7bf4 (diff) | |
download | samba-f16cd89af91ef4d55d4996f08c3ac2b2ea6cd0bf.tar.gz samba-f16cd89af91ef4d55d4996f08c3ac2b2ea6cd0bf.tar.xz samba-f16cd89af91ef4d55d4996f08c3ac2b2ea6cd0bf.zip |
Coverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).
Jeremy.
(cherry picked from commit d6d41e85d4c7c041683057fb39196898c6218212)
Diffstat (limited to 'source/winbindd/winbindd_dual.c')
-rw-r--r-- | source/winbindd/winbindd_dual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c index 8006a186794..64faf4dba50 100644 --- a/source/winbindd/winbindd_dual.c +++ b/source/winbindd/winbindd_dual.c @@ -1154,7 +1154,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 |