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

Karolin Seeger kseeger at samba.org
Mon Jan 27 10:54:03 UTC 2020


The branch, v4-11-test has been updated
       via  79e7d1328ea smbd: Fix the build with clang
      from  bbacbd5f3f2 script/release.sh: make it possible to run from a git worktree

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-11-test


- Log -----------------------------------------------------------------
commit 79e7d1328ea9d7495c0761f4b5058736c838d4c3
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Jul 31 10:42:24 2019 +0200

    smbd: Fix the build with clang
    
    clang correctly complains that "close_fsp" is used uninitialized if
    "get_posix_fsp" fails and we end up in "goto out;".
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=14251
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    (cherry picked from commit a8a1ca3f83dce6d725392989cbc97271cbf52f4a)
    
    Autobuild-User(v4-11-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-11-test): Mon Jan 27 10:53:50 UTC 2020 on sn-devel-184

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

Summary of changes:
 source3/smbd/trans2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index b0616f15ade..8164c8fd213 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4848,7 +4848,7 @@ static NTSTATUS smb_query_posix_acl(connection_struct *conn,
 	unsigned int size_needed = 0;
 	NTSTATUS status;
 	bool ok;
-	bool close_fsp;
+	bool close_fsp = false;
 
 	/*
 	 * Ensure we always operate on a file descriptor, not just


-- 
Samba Shared Repository



More information about the samba-cvs mailing list