svn commit: samba r18324 - in branches/SAMBA_4_0/source/lib/registry: .

tridge at samba.org tridge at samba.org
Sun Sep 10 10:30:41 GMT 2006


Author: tridge
Date: 2006-09-10 10:30:33 +0000 (Sun, 10 Sep 2006)
New Revision: 18324

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

Log:

fixed a uninitialised variable

Modified:
   branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c	2006-09-10 10:30:10 UTC (rev 18323)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c	2006-09-10 10:30:33 UTC (rev 18324)
@@ -473,7 +473,7 @@
 {
 	DATA_BLOB data;
 	struct nk_block *nk = key->backend_data;
-	uint32_t key_off;
+	uint32_t key_off=0;
 
 	if (idx >= nk->num_subkeys)
 		return WERR_NO_MORE_ITEMS;



More information about the samba-cvs mailing list