[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2760-g8e33d19

Volker Lendecke vl at samba.org
Thu Mar 6 10:29:45 GMT 2008


The branch, v3-2-test has been updated
       via  8e33d19d93ef57a9438aad085aaf04b7c09fe09b (commit)
      from  21a527569bccff8e8cb6e751c9f3fce6ff598204 (commit)

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


- Log -----------------------------------------------------------------
commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Mar 6 11:27:49 2008 +0100

    Check the right pointer for non-NULL
    
    Fix Coverity ID 558, 559

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

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


Changeset truncated at 500 lines:

diff --git a/source/libsmb/clidfs.c b/source/libsmb/clidfs.c
index 16582f8..971cde1 100644
--- a/source/libsmb/clidfs.c
+++ b/source/libsmb/clidfs.c
@@ -1054,7 +1054,7 @@ static bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
 	split_dfs_path(ctx, refs[0].dfspath, pp_newserver,
 			pp_newshare, &newextrapath );
 
-	if (!pp_newserver || !pp_newshare) {
+	if ((*pp_newserver == NULL) || (*pp_newshare == NULL)) {
 		return false;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list