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

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


The branch, v3-2-test has been updated
       via  7b24a4af219331b12836cd03353fb6a52ddae11c (commit)
      from  2d06ea18caf0cb764bb20e80828d791bf497eae4 (commit)

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


- Log -----------------------------------------------------------------
commit 7b24a4af219331b12836cd03353fb6a52ddae11c
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Oct 29 16:02:16 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 acf0908..858e9d6 100644
--- 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


-- 
Samba Shared Repository


More information about the samba-cvs mailing list