git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e0036
)
r14133: Fix Coverity bug # 140
author
Volker Lendecke
<vlendec@samba.org>
Fri, 10 Mar 2006 08:56:13 +0000
(08:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:12 +0000
(11:15 -0500)
(This used to be commit
5007f53eb54eddff3d13df929d78385d6b158057
)
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index c5cf75783ba36d17b9602dd1ce3598af55ce3373..03cfd4dd400808f623e14a88f22c76f9cbb6f118 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-585,11
+585,11
@@
BOOL cli_resolve_path( const char *mountpt, struct cli_state *rootcli, const cha
SMB_STRUCT_STAT sbuf;
uint32 attributes;
- *targetcli = NULL;
-
if ( !rootcli || !path || !targetcli )
return False;
+ *targetcli = NULL;
+
/* send a trans2_query_path_info to check for a referral */
clean_path( cleanpath, path );