The branch, master has been updated
       via  ef3bb09 RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of 
uninitialized data out on the network.
      from  ed058f4 s3: Fix a winbind race leading to 100% CPU

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


- Log -----------------------------------------------------------------
commit ef3bb09db6f6985eac82f4e80259c44be6ca8c20
Author: Jeremy Allison <[email protected]>
Date:   Fri Aug 26 21:14:04 2011 -0700

    RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data 
out on the network.
    
    Autobuild-User: Jeremy Allison <[email protected]>
    Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104

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

Summary of changes:
 source4/libcli/raw/rawsetfileinfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/libcli/raw/rawsetfileinfo.c 
b/source4/libcli/raw/rawsetfileinfo.c
index ff36d50..fec99d3 100644
--- a/source4/libcli/raw/rawsetfileinfo.c
+++ b/source4/libcli/raw/rawsetfileinfo.c
@@ -79,6 +79,7 @@ bool smb_raw_setfileinfo_passthru(TALLOC_CTX *mem_ctx,
        case RAW_SFILEINFO_RENAME_INFORMATION_SMB2:
                NEED_BLOB(20);
                SIVAL(blob->data, 0, parms->rename_information.in.overwrite);
+               SIVAL(blob->data, 4, 0);
                SBVAL(blob->data, 8, parms->rename_information.in.root_fid);
                len = smbcli_blob_append_string(NULL, mem_ctx, blob,
                                                
parms->rename_information.in.new_name, 


-- 
Samba Shared Repository

Reply via email to