git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8def289
)
s4:ldb Allow a NULL module list
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Oct 2009 09:11:03 +0000
(20:11 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Oct 2009 12:33:22 +0000
(23:33 +1100)
source4/lib/ldb/common/ldb_modules.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_modules.c
b/source4/lib/ldb/common/ldb_modules.c
index 135ed8c05f1f15da81d5df9396af434491b16c75..69b8ed0bf4123162c3a5f935c306b2cb182f1d41 100644
(file)
--- 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;