[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4305-gd6d41e8

Jeremy Allison jra at samba.org
Wed Oct 29 23:03:09 GMT 2008


The branch, v3-3-test has been updated
       via  d6d41e85d4c7c041683057fb39196898c6218212 (commit)
      from  8377d7721059f8834d08cd4cfbab9c8c50cf4ca4 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit d6d41e85d4c7c041683057fb39196898c6218212
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Oct 29 16:01:33 2008 -0700

    Coverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/winbindd/winbindd_dual.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_dual.c b/source/winbindd/winbindd_dual.c
index 8006a18..64faf4d 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


-- 
Samba Shared Repository


More information about the samba-cvs mailing list