[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Tue Mar 22 14:50:02 UTC 2016


The branch, master has been updated
       via  5291462 winbind: Fix CID 1357100 Unchecked return value
      from  aab2f39 autobuild: Return the last 50 log lines

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


- Log -----------------------------------------------------------------
commit 5291462bd8a683b2d21b5f21ad73f84939aa2d67
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Mar 22 11:24:23 2016 +0100

    winbind: Fix CID 1357100 Unchecked return value
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Tue Mar 22 15:49:14 CET 2016 on sn-devel-144

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

Summary of changes:
 source3/winbindd/idmap.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index faf0df2..7eb7e58 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -126,8 +126,12 @@ bool domain_has_idmap_config(const char *domname)
 	char *config_option;
 	const char *range = NULL;
 	const char *backend = NULL;
+	bool ok;
 
-	idmap_init();
+	ok = idmap_init();
+	if (!ok) {
+		return false;
+	}
 
 	for (i=0; i<num_domains; i++) {
 		if (strequal(idmap_domains[i]->name, domname)) {


-- 
Samba Shared Repository



More information about the samba-cvs mailing list