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

Jeremy Allison jra at samba.org
Sat Aug 16 17:40:21 GMT 2008


The branch, v3-3-test has been updated
       via  d591b2ed96451708fcf8e090f253fb006f2cf7eb (commit)
      from  740228aad72073bdbe1ebd96b9f44d914445816c (commit)

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


- Log -----------------------------------------------------------------
commit d591b2ed96451708fcf8e090f253fb006f2cf7eb
Author: Volker Lendecke <vl at sernet.de>
Date:   Sat Aug 16 11:12:35 2008 +0200

    Attempt to fix Coverity ID 596
    
    Jeremy, please check & push if it's ok.

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

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_passdb.c b/source/winbindd/winbindd_passdb.c
index e4cf029..8387565 100644
--- a/source/winbindd/winbindd_passdb.c
+++ b/source/winbindd/winbindd_passdb.c
@@ -217,7 +217,7 @@ static NTSTATUS rids_to_names(struct winbindd_domain *domain,
 			(*names)[i] = CONST_DISCARD(char *, nam);
 		}
 
-		if (domain_name == NULL) {
+		if (*domain_name == NULL) {
 			*domain_name = CONST_DISCARD(char *, dom);
 		} else {
 			char *dname = CONST_DISCARD(char *, dom);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list