diff options
author | Gerald Carter <jerry@samba.org> | 2005-07-19 12:57:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:12 -0500 |
commit | 7a51eb50d4b78c16306e7f7539fd0d92ebfc012c (patch) | |
tree | 2a3b276bc19f7fd2fb24ef9b2a3ab46dbf4b2bc3 /source3/registry | |
parent | 46e7935d25ffacf352738ea50647d607e5303ba7 (diff) | |
download | samba-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.c | 1 |
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 |