git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2653725
)
Check the right pointer for non-NULL
author
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 10:27:49 +0000
(11:27 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 10:33:26 +0000
(11:33 +0100)
Fix Coverity ID 558, 559
(This used to be commit
8e33d19d93ef57a9438aad085aaf04b7c09fe09b
)
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 16582f80490693db73d3151031828a8839b1a509..971cde12527cb8716892aff5842d73b068fd866b 100644
(file)
--- 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;
}