[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Thu Nov 19 19:17:04 UTC 2015


The branch, master has been updated
       via  7e9aaec winbind: Don't crash on invalid idmap configs
      from  5036c6e build:wafsamba: remove check_orphaned_targets

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


- Log -----------------------------------------------------------------
commit 7e9aaecec552ca53c50fc0c731419af467f76a00
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Nov 19 17:00:49 2015 +0100

    winbind: Don't crash on invalid idmap configs
    
    We should not leave NULL in idmap_domains[]. This will lead to NULL
    ptr deferences in idmap_find_domain().
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=11612
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Thu Nov 19 20:16:44 CET 2015 on sn-devel-104

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

Summary of changes:
 source3/winbindd/idmap.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 8de8990..4012e70 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -146,6 +146,7 @@ static bool idmap_found_domain_backend(
 		if (dom == NULL) {
 			DBG_NOTICE("Could not init idmap domain %s\n",
 				   domname);
+			return false;
 		}
 
 		tmp = talloc_realloc(idmap_domains, idmap_domains,


-- 
Samba Shared Repository



More information about the samba-cvs mailing list