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

tridge at samba.org tridge at samba.org
Sun Sep 10 11:16:31 GMT 2006


Author: tridge
Date: 2006-09-10 11:16:26 +0000 (Sun, 10 Sep 2006)
New Revision: 18328

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

Log:

when we bail out early, set *offset to 0

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 11:16:09 UTC (rev 18327)
+++ branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c	2006-09-10 11:16:26 UTC (rev 18328)
@@ -133,6 +133,8 @@
 	struct hbin_block *hbin = NULL;
 	int i;
 
+	*offset = 0;
+
 	if (size == 0)
 		return data_blob(NULL, 0);
 



More information about the samba-cvs mailing list