[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1087-g62d767d

Jeremy Allison jra at samba.org
Thu May 28 20:33:49 GMT 2009


The branch, v3-4-test has been updated
       via  62d767d57fafd869ec956cbcc84e8c866c6d665b (commit)
      from  22b9d9d28d9acd68a9bc492530fcd0a565ff0aa3 (commit)

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


- Log -----------------------------------------------------------------
commit 62d767d57fafd869ec956cbcc84e8c866c6d665b
Author: Jeremy Allison <jra at samba.org>
Date:   Thu May 28 13:33:06 2009 -0700

    Fix uninitialized variable use caught by valgrind.
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 0703f04..62d710e 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -308,7 +308,7 @@ bool cli_unix_stat(struct cli_state *cli, const char *name, SMB_STRUCT_STAT *sbu
 
 	sbuf->st_uid = (uid_t) IVAL(rdata,40);      /* user ID of owner */
 	sbuf->st_gid = (gid_t) IVAL(rdata,48);      /* group ID of owner */
-	sbuf->st_mode |= unix_filetype_from_wire(IVAL(rdata, 56));
+	sbuf->st_mode = unix_filetype_from_wire(IVAL(rdata, 56));
 #if defined(HAVE_MAKEDEV)
 	{
 		uint32 dev_major = IVAL(rdata,60);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list