svn commit: samba r17278 - in branches/SAMBA_4_0/source/libcli: .

metze at samba.org metze at samba.org
Thu Jul 27 16:45:00 GMT 2006


Author: metze
Date: 2006-07-27 16:44:59 +0000 (Thu, 27 Jul 2006)
New Revision: 17278

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17278

Log:
fix un uninitialized value found by valgrind

metze
Modified:
   branches/SAMBA_4_0/source/libcli/clilist.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/clilist.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/clilist.c	2006-07-27 16:20:59 UTC (rev 17277)
+++ branches/SAMBA_4_0/source/libcli/clilist.c	2006-07-27 16:44:59 UTC (rev 17278)
@@ -274,6 +274,7 @@
 	state.mem_ctx = talloc_init("smbcli_list_old");
 	state.dirlist_len = 0;
 	state.total_received = 0;
+	state.data_level = RAW_SEARCH_DATA_SEARCH;
 
 	state.dirlist = talloc_new(state.mem_ctx);
 	mask = talloc_strdup(state.mem_ctx, Mask);



More information about the samba-cvs mailing list