[SCM] Samba Shared Repository - branch v4-0-test updated

Karolin Seeger kseeger at samba.org
Mon Oct 29 03:38:03 MDT 2012


The branch, v4-0-test has been updated
       via  02bef9d libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209)
      from  3955a6a build: Assert that auth_domain, auth_builtin, auth_sam, auth_winbind are builtin

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 02bef9dc7ba90e29498653850d66b4f0f44f55d2
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Oct 27 08:11:14 2012 +0200

    libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209)
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sat Oct 27 10:05:22 CEST 2012 on sn-devel-104
    (cherry picked from commit 2b4672f2d30c01a4767acf660ddb061676c59908)
    
    Autobuild-User(v4-0-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-0-test): Mon Oct 29 10:37:13 CET 2012 on sn-devel-104

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

Summary of changes:
 libcli/smb/smb2_create_blob.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/libcli/smb/smb2_create_blob.c b/libcli/smb/smb2_create_blob.c
index 92387db..c6b2e1e 100644
--- a/libcli/smb/smb2_create_blob.c
+++ b/libcli/smb/smb2_create_blob.c
@@ -113,7 +113,7 @@ static NTSTATUS smb2_create_blob_push_one(TALLOC_CTX *mem_ctx, DATA_BLOB *buffer
 	size_t next_pad = 0;
 	bool ok;
 
-	blob_offset = 0x14 + tag_length;
+	blob_offset = 0x10 + tag_length;
 	blob_pad = smb2_create_blob_padding(blob_offset, 8);
 	next_offset = blob_offset + blob_pad + blob->data.length;
 	if (!last) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list