[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue Jul 24 18:43:02 MDT 2012


The branch, master has been updated
       via  d58aa46 Fix bug 9065: source3/registry/regfio.c: bad call to memcpy Signed-off-by: Jeremy Allison <jra at samba.org>
      from  79ccb96 s3:torture/test_smb2: make a copy of smbXcli_tcon

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d58aa46c08f69b1b048375b0eea85bdf25f99cda
Author: David Binderman <dcb314 at hotmail.com>
Date:   Tue Jul 24 15:46:10 2012 -0700

    Fix bug 9065: source3/registry/regfio.c: bad call to memcpy
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Wed Jul 25 02:42:32 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/registry/regfio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 9be8ff8..bde1863 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -1468,7 +1468,7 @@ static REGF_HBIN* regf_hbin_allocate( REGF_FILE *file, uint32 block_size )
 	if ( !(hbin = talloc_zero( file->mem_ctx, REGF_HBIN )) )
 		return NULL;
 
-	memcpy( hbin->header, "hbin", sizeof(HBIN_HDR_SIZE) );
+	memcpy( hbin->header, "hbin", HBIN_HDR_SIZE);
 
 
 	if (sys_fstat(file->fd, &sbuf, false)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list