svn commit: samba r8604 - branches/SAMBA_3_0/source/registry trunk/source/registry

jerry at samba.org jerry at samba.org
Tue Jul 19 12:57:02 GMT 2005


Author: jerry
Date: 2005-07-19 12:57:02 +0000 (Tue, 19 Jul 2005)
New Revision: 8604

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

Log:
BUG 2890: fix unitialized variable reported by Jason Mader <jason at ncac.gwu.edu>

Modified:
   branches/SAMBA_3_0/source/registry/regfio.c
   trunk/source/registry/regfio.c


Changeset:
Modified: branches/SAMBA_3_0/source/registry/regfio.c
===================================================================
--- branches/SAMBA_3_0/source/registry/regfio.c	2005-07-19 11:55:35 UTC (rev 8603)
+++ branches/SAMBA_3_0/source/registry/regfio.c	2005-07-19 12:57:02 UTC (rev 8604)
@@ -478,6 +478,7 @@
 		return False;
 
 	record_size = 0;
+	header = 0;
 	curr_off = prs_offset( &hbin->ps );
 	while ( header != 0xffffffff ) {
 		/* not done yet so reset the current offset to the 

Modified: trunk/source/registry/regfio.c
===================================================================
--- trunk/source/registry/regfio.c	2005-07-19 11:55:35 UTC (rev 8603)
+++ trunk/source/registry/regfio.c	2005-07-19 12:57:02 UTC (rev 8604)
@@ -478,6 +478,7 @@
 		return False;
 
 	record_size = 0;
+	header = 0;
 	curr_off = prs_offset( &hbin->ps );
 	while ( header != 0xffffffff ) {
 		/* not done yet so reset the current offset to the 



More information about the samba-cvs mailing list