[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Mon Oct 12 06:36:09 MDT 2009


The branch, master has been updated
       via  a37efaf... s4:ldb Allow a NULL module list
      from  8def289... s3/proto.h: Add lp_ldap_ref_follow prototype.

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


- Log -----------------------------------------------------------------
commit a37efaf9229e8b6ff3da8caaa5cb0f6ce8670cee
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Oct 12 20:11:03 2009 +1100

    s4:ldb Allow a NULL module list

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

Summary of changes:
 source4/lib/ldb/common/ldb_modules.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 135ed8c..69b8ed0 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -337,7 +337,7 @@ int ldb_load_modules_list(struct ldb_context *ldb, const char **module_list, str
 
 	module = backend;
 
-	for (i = 0; module_list[i] != NULL; i++) {
+	for (i = 0; module_list && module_list[i] != NULL; i++) {
 		struct ldb_module *current;
 		const struct ldb_module_ops *ops;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list