summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-07-19 12:57:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:12 -0500
commit7a51eb50d4b78c16306e7f7539fd0d92ebfc012c (patch)
tree2a3b276bc19f7fd2fb24ef9b2a3ab46dbf4b2bc3 /source3/registry
parent46e7935d25ffacf352738ea50647d607e5303ba7 (diff)
downloadsamba-7a51eb50d4b78c16306e7f7539fd0d92ebfc012c.tar.gz
samba-7a51eb50d4b78c16306e7f7539fd0d92ebfc012c.tar.bz2
samba-7a51eb50d4b78c16306e7f7539fd0d92ebfc012c.zip
r8604: BUG 2890: fix unitialized variable reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit 9f8344e31d3628338b434ee3e530b7f7322e6fe1)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/regfio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index d2035228ae..041db19f27 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -478,6 +478,7 @@ static REGF_HBIN* read_hbin_block( REGF_FILE *file, off_t offset )
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