[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Fri Oct 11 10:06:02 MDT 2013


The branch, master has been updated
       via  dba7804 ntdb: Make sure variables passed by value are initialized.
       via  13b4dab pidl: fix an error message typo
      from  275f658 s3-winbind: Send online/offline message of the domain to the parent.

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


- Log -----------------------------------------------------------------
commit dba78049eaad7c1d3b28a029e152d7d182582c57
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Oct 10 18:23:42 2013 +0200

    ntdb: Make sure variables passed by value are initialized.
    
    This fixes a GCC warning.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Fri Oct 11 18:05:19 CEST 2013 on sn-devel-104

commit 13b4dab31c3813d3e08578726e8fc1e9e51e6080
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Oct 11 11:59:25 2013 +0200

    pidl: fix an error message typo
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>

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

Summary of changes:
 lib/ntdb/check.c                         |    5 +++--
 pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/ntdb/check.c b/lib/ntdb/check.c
index 2790c68..5b6e905 100644
--- a/lib/ntdb/check.c
+++ b/lib/ntdb/check.c
@@ -659,10 +659,11 @@ _PUBLIC_ enum NTDB_ERROR ntdb_check_(struct ntdb_context *ntdb,
 			  enum NTDB_ERROR (*check)(NTDB_DATA, NTDB_DATA, void *),
 			  void *data)
 {
-	ntdb_off_t *fr = NULL, *used = NULL, ft, recovery;
+	ntdb_off_t *fr = NULL, *used = NULL;
+	ntdb_off_t ft = 0, recovery = 0;
 	size_t num_free = 0, num_used = 0, num_found = 0, num_ftables = 0,
 		num_capabilities = 0;
-	uint64_t features;
+	uint64_t features = 0;
 	enum NTDB_ERROR ecode;
 
 	if (ntdb->flags & NTDB_CANT_CHECK) {
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 54b6f13..3deab2e 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -261,7 +261,7 @@ sub check_fully_dereferenced($$)
 				$nump = $_->{POINTER_INDEX}+1;
 			}
 		}
-		warning($element->{ORIGINAL}, "Got pointer for `$e->{NAME}', expected fully derefenced variable") if ($nump > length($ptr));
+		warning($element->{ORIGINAL}, "Got pointer for `$e->{NAME}', expected fully dereferenced variable") if ($nump > length($ptr));
 		return ($origvar);
 	}
 }	


-- 
Samba Shared Repository


More information about the samba-cvs mailing list