[SCM] Samba Shared Repository - branch v3-6-test updated
Karolin Seeger
kseeger at samba.org
Sun Aug 12 23:21:18 MDT 2012
The branch, v3-6-test has been updated
via 3ce8703 Fix bug 9065: source3/registry/regfio.c: bad call to memcpy
from af159e2 WHASTNEW: Start release notes for Samba 3.6.8.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit 3ce8703a0a8566be36ccbab4271d4f953d2763de
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>
(cherry picked from commit 2575cd4f189d28e7d4def211a89348ab7e515e83)
-----------------------------------------------------------------------
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 bd53807..c56cfbd 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -1467,7 +1467,7 @@ static REGF_HBIN* regf_hbin_allocate( REGF_FILE *file, uint32 block_size )
if ( !(hbin = TALLOC_ZERO_P( 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