From: Volker Lendecke Date: Thu, 6 Mar 2008 10:27:49 +0000 (+0100) Subject: Check the right pointer for non-NULL X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=e82c9d1c319c216bbb108b16456df03ae2ad6e97;p=obnox%2Fsamba%2Fsamba-obnox.git Check the right pointer for non-NULL Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b) --- diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 16582f80490..971cde12527 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/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; }