The Samba-Bugzilla – Attachment 7719 Details for
Bug 9065
source3/registry/regfio.c: bad call to memcpy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.next.
0001-Fix-bug-9065-source3-registry-regfio.c-bad-call-to-m.patch (text/plain), 942 bytes, created by
Jeremy Allison
on 2012-07-24 22:52:51 UTC
(
hide
)
Description:
git-am fix for 3.6.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-07-24 22:52:51 UTC
Size:
942 bytes
patch
obsolete
>From d1d7ee3a9ca8639e752707133b090b93e45894be Mon Sep 17 00:00:00 2001 >From: David Binderman <dcb314@hotmail.com> >Date: Tue, 24 Jul 2012 15:46:10 -0700 >Subject: [PATCH] Fix bug 9065: source3/registry/regfio.c: bad call to memcpy > Signed-off-by: Jeremy Allison <jra@samba.org> (cherry > picked from commit > 2575cd4f189d28e7d4def211a89348ab7e515e83) > >--- > source3/registry/regfio.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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)) { >-- >1.7.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ira
:
review+
Actions:
View
Attachments on
bug 9065
: 7719