svn commit: samba r14133 - branches/SAMBA_3_0/source/libsmb
trunk/source/libsmb
vlendec at samba.org
vlendec at samba.org
Fri Mar 10 08:56:15 GMT 2006
Author: vlendec
Date: 2006-03-10 08:56:13 +0000 (Fri, 10 Mar 2006)
New Revision: 14133
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14133
Log:
Fix Coverity bug # 140
Modified:
branches/SAMBA_3_0/source/libsmb/clidfs.c
trunk/source/libsmb/clidfs.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clidfs.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clidfs.c 2006-03-10 08:53:15 UTC (rev 14132)
+++ branches/SAMBA_3_0/source/libsmb/clidfs.c 2006-03-10 08:56:13 UTC (rev 14133)
@@ -585,11 +585,11 @@
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 );
Modified: trunk/source/libsmb/clidfs.c
===================================================================
--- trunk/source/libsmb/clidfs.c 2006-03-10 08:53:15 UTC (rev 14132)
+++ trunk/source/libsmb/clidfs.c 2006-03-10 08:56:13 UTC (rev 14133)
@@ -585,11 +585,11 @@
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 );
More information about the samba-cvs
mailing list