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

Karolin Seeger kseeger at samba.org
Thu Jan 21 12:28:03 UTC 2016


The branch, v4-2-test has been updated
       via  279246d smbcacls: fix uninitialized variable
      from  d63f0b11 s3:smbd/oplock obey kernel oplock setting when releasing oplocks

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


- Log -----------------------------------------------------------------
commit 279246d4b18b0a3cd512153ac009667a6b49113a
Author: Uri Simchoni <uri at samba.org>
Date:   Wed Jan 20 09:34:26 2016 +0200

    smbcacls: fix uninitialized variable
    
    An uninitialized variable causes "numeric" mode to be
    used without the -n option.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11682
    
    Signed-off-by: Uri Simchoni <uri at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Wed Jan 20 12:12:12 CET 2016 on sn-devel-144
    
    (cherry picked from commit 6cff00954763a7b266db5bab229b989e89abcee0)
    
    Autobuild-User(v4-2-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-2-test): Thu Jan 21 13:27:02 CET 2016 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index c7ed6f3..7c18d1c 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -791,7 +791,7 @@ int main(int argc, char *argv[])
 	poptContext pc;
 	/* numeric is set when the user wants numeric SIDs and ACEs rather
 	   than going via LSA calls to resolve them */
-	int numeric;
+	int numeric = 0;
 
 	struct poptOption long_options[] = {
 		POPT_AUTOHELP


-- 
Samba Shared Repository



More information about the samba-cvs mailing list