svn commit: samba r2679 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Mon Sep 27 08:39:51 GMT 2004


Author: tridge
Date: 2004-09-27 08:39:51 +0000 (Mon, 27 Sep 2004)
New Revision: 2679

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/posix&rev=2679&nolog=1

Log:
fixed an uninitialised variable found with valgrind


Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_dirlist.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_dirlist.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_dirlist.c	2004-09-27 08:39:06 UTC (rev 2678)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_dirlist.c	2004-09-27 08:39:51 UTC (rev 2679)
@@ -82,7 +82,8 @@
 	if (!name->has_wildcard) {
 		return pvfs_list_no_wildcard(pvfs, name, pattern, dir);
 	}
-	
+
+	dir->names = NULL;
 	dir->count = 0;
 	dir->unix_path = talloc_strdup(dir, name->full_name);
 	if (!dir->unix_path) {



More information about the samba-cvs mailing list